[erlang-questions] automatic garbage collection when low memory?

Convey Christian J NPRI ConveyCJ@REDACTED
Wed Mar 26 17:08:28 CET 2008


I've got a program that crashes unless I explicitly call erlang:garbage_collect() at certain points.  I'm pretty sure the problem is that I'm running out of memory simply because the garbage collector isn't running often enough.

Does anyone know if there's a way to get Erlang to run the garbage collector when memory gets tight?

Christian Convey
Scientist, Naval Undersea Warfare Centers
Newport, RI




More information about the erlang-questions mailing list