English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

You can call System.gc(), but that is only a *request* to perform garbage collection.

You should also take a look at the documents here http://java.sun.com/javase/technologies/hotspot.jsp to learn about how to configure the size of the different parts of the heap and configure different GC implementations depending on your application and intended environment, e.g. multi-cpu server, single cp client/desktop app, etc.

2006-08-01 09:46:24 · answer #1 · answered by vincentgl 5 · 0 0

fedest.com, questions and answers