Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

A few simple ways: put shared data in PermGen, and rollover to a new process when memory gets low (erlang-style but at OS-level).


Well I wouldn't say "roll-over" to the new process is exactly simple but it is a good trick though. Forking has its interesting dark cases that have to be handled. Inherited file descriptors, what happens to threads, signals and so on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: