Remove lingering NanAdjustExternalMemory

Should have been removed in fe34548b
This commit is contained in:
Lovell Fuller 2015-02-12 12:15:56 +00:00
parent 8f41fed9c2
commit 0e91ca90d6

View File

@ -13,12 +13,9 @@ extern "C" void init(v8::Handle<v8::Object> target) {
vips_init("sharp"); vips_init("sharp");
// Set libvips operation cache limits // Set libvips operation cache limits
vips_cache_set_max_mem(100 * 1048576); // 100 MB vips_cache_set_max_mem(100 * 1024 * 1024); // 100 MB
vips_cache_set_max(500); // 500 operations vips_cache_set_max(500); // 500 operations
// Notify the V8 garbage collector of max cache size
NanAdjustExternalMemory(vips_cache_get_max_mem());
// Methods available to JavaScript // Methods available to JavaScript
NODE_SET_METHOD(target, "metadata", metadata); NODE_SET_METHOD(target, "metadata", metadata);
NODE_SET_METHOD(target, "resize", resize); NODE_SET_METHOD(target, "resize", resize);