Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allocation failure] [GC in old space requested . #188

Closed
loretoparisi opened this issue May 22, 2017 · 2 comments
Closed

allocation failure] [GC in old space requested . #188

loretoparisi opened this issue May 22, 2017 · 2 comments

Comments

@loretoparisi
Copy link

loretoparisi commented May 22, 2017

<--- Last few GCs --->

  197996 ms: Mark-sweep 1294.5 (1427.6) -> 1285.2 (1417.3) MB, 237.3 / 0.0 ms [allocation failure] [GC in old space requested].
  198290 ms: Mark-sweep 1285.2 (1417.3) -> 1285.2 (1417.3) MB, 293.7 / 0.0 ms [allocation failure] [GC in old space requested].
  198588 ms: Mark-sweep 1285.2 (1417.3) -> 1285.1 (1386.3) MB, 298.3 / 0.0 ms [last resort gc].
  198865 ms: Mark-sweep 1285.1 (1386.3) -> 1285.1 (1386.3) MB, 276.4 / 0.0 ms [last resort gc].


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x247d1a0cfb51 <JS Object>
    1: parseEscapedItem [//node_modules/fast-csv/lib/parser/parser.js:59] [pc=0x3ac1481e3a47] (this=0x247d1a0e6f19 <JS Global Object>,str=0x6cbba2368f9 <Very long string[1921124]>,items=0x6cbba2042b9 <JS Array[1]>,cursor=1826494,hasMoreData=0x247d1a0043c1 <true>)
    2: parser(...

I have launched my script with node --max_old_space_size=4096 script.js

@TechnotronicOz
Copy link
Contributor

@loretoparisi are you reading a file into memory or can you provide a little more details and context?

@doug-martin
Copy link
Member

Doing some house cleaning. Need more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants