« Previous | Next » 

Revision acd0df4a

IDacd0df4ad90c31ad5c605a39120e684ecb4b8cc2
Parent 2e371b8f
Child a39f669b

Added by Ben Noordhuis over 11 years ago

test: fix pummel test out-of-memory errors

Fix the following OOM error in pummel/test-net-connect-memleak
and pummel/test-tls-connect-memleak:

FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of
memory

Commit v8/v8@91afd39 increases the size of the deoptimization table
to the extent that a 64M float array pushes it over the brink. Switch
to SMIs so it stays below the limit.

pummel/test-net-connect-memleak is still failing albeit with a different
error this time. Needs further investigation.

=== release test-net-connect-memleak ===
Path: pummel/test-net-connect-memleak
-64 kB reclaimed
assert.js:102
throw new assert.AssertionError({
^
AssertionError: false == true
at done [as _onTimeout] (/home/bnoordhuis/src/nodejs/master/
test/pummel/test-net-connect-memleak.js:48:3)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
at process._makeCallback (node.js:306:20)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences