Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Force JVM to garbage collect externally?

Name: Anonymous 2010-10-30 19:13

I'm running PS3 Media Server on Arch Linux, and it's using quite a bit of memory that I'm sure could be collected if the JVM would just try. Is there any way for me to get the process to garbage collect? Maybe I there's a signal I can send to it?

Name: Anonymous 2010-11-03 10:35

No no no, there is a signal you can send to it, can't remember the name, but if you send signal 8 the jvm will collect any garbage and free to reduce memory.

kill -8 `pgrep java`

Name: Anonymous 2010-11-03 12:05

>>26
kill -[b]9[/b] `pgrep java`

is the only way to force the JVM to let go of memory

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List