out of memory

2020-11-16 Thread tmsa04
ever tried it with Nim! I think it's possible from what I have read. There's a stack ulimit set on most Linux distros, but that would probably give a stack overflow error not an out of memory error.

out of memory

2020-11-16 Thread snej
There are likely some Linux tools you can use to inspect a process's heap. I don't develop on Linux, but for example, on macOS I would turn to tools like `heap` and `MallocStackLogging`.

out of memory

2020-11-16 Thread Araq
Inject `echo getOccupiedMem()` into strategic places in your program. Or maybe collect the information in a database. Or maybe by not collecting everything into a single tree. Usually there is a correlation between what you do and the amount of memory it requires, the more memory it takes, the

out of memory

2020-11-15 Thread kobi
Another question: My program exits with an "out of memory" failure. I'm on linux, and I have ~ 8gb of ram on this computer. The program is parsing files in a directory, collecting all this info in a tree, and then generating from this tree. Now, the current folder is pretty big