Skip to content

Commit

Permalink
Revert "Use mimalloc in line with datafusion-cli"
Browse files Browse the repository at this point in the history
On Fly.io's free tier (with the 256MB limit), it causes OOM errors when doing
`CREATE EXTERNAL TABLE` + `CREATE TABLE AS`, so disabling it for now.

This reverts commit 4b89565.
  • Loading branch information
mildbyte committed Aug 30, 2022
1 parent 634a461 commit 67c1d1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ hashbrown = { version = "0.12", features = ["raw"] }
hex = ">=0.4.0"
itertools = ">=0.10.0"
log = "0.4"
mimalloc = { version = "*", default-features = false }
moka = { version = "0.9.3", default_features = false, features = ["future", "atomic64", "quanta"] }
object_store = "0.3.0"
pretty_env_logger = "0.4"
Expand Down
4 changes: 0 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use std::{
use clap::Parser;

use futures::{future::join_all, Future, FutureExt};
use mimalloc::MiMalloc;

use pretty_env_logger::env_logger;
use seafowl::{
Expand All @@ -30,9 +29,6 @@ use tokio::sync::broadcast::{channel, Sender};
#[cfg(feature = "frontend-postgres")]
use seafowl::frontend::postgres::run_pg_server;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

extern crate pretty_env_logger;
#[macro_use]
extern crate log;
Expand Down

0 comments on commit 67c1d1b

Please sign in to comment.