-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Hi,
A relatively simple test of the box fitting algorithm seems to use huge amounts of memory and run forever.
45403 node 100.3 01:03.63 8/1 0 38 *1450M+* 0B 0B 45403 3364 running 5477428 0 501 1093442+ 240 63 22 50565+ 6035+ 47118+
That's nearly 1.5GByte of resident memory!
OSX Yosemite (10.10), node.js v0.10.21,
-marc
// Fit items in box.
postmaster.v1.box.fit({
items: [{
'width': 6,
'length': 6,
'height': 12,
'count': 6,
'sku': 'Grow',
'weight': 75,
'dimension_units': 'CM',
'weight_units': 'G'
} ,
{
'width': 6,
'length': 6,
'height': 12,
'count': 6,
'sku': 'Climate',
'weight': 50,
'dimension_units': 'CM',
'weight_units': 'G'
}
]
}, function(err, response) {
if (err === null) err = 'No errors';
console.log('box.fit', err, postmaster.stringify(response));
});
Reactions are currently unavailable