Programming/node.js2018. 11. 26. 14:54

어디선가 대충짜서 메모리가 터져나가고 있나 본데..


Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 



sqlite-sync를 쓰는데 connect.close() 안해줘서 메모리 터져나간듯..

'Programming > node.js' 카테고리의 다른 글

node.js compressed http  (0) 2018.12.06
waveform-data.js  (0) 2018.11.30
node.js sqlite3  (0) 2018.11.26
node.js xml <-> json  (0) 2018.11.25
node.js mysql blob  (0) 2018.11.23
Posted by 구차니