Froce garbage collection

Is there any other way to force garbage collection besidessystem.gc()Runtime.ExcuteFinalization()I know thoes still does not guranteen garbage collection. How to improve performace to maximize the possibility for garbage collection?Thanks
[280 byte] By [nuonuoxua] at [2007-10-1 5:36:42]
# 1
U r question carries the answerU cannot force garbage collectionThough u can use System.gc() , there is no guarantee if there is a grabage collection happened actually :-)I guess, the performance problem seems to related to hardware
bkalysuna at 2007-7-9 13:47:26 > top of Java-index,Administration Tools,Sun Connection...
# 2
> How to improve performace to maximize the possibility> for garbage collection?As soon as you are done using the object references, get them out of scope :) That would help. Calling System.gc() wouldn't.
annie79a at 2007-7-9 13:47:26 > top of Java-index,Administration Tools,Sun Connection...
# 3
Thanks a lot to everyone.Warm regards
nuonuoxua at 2007-7-9 13:47:26 > top of Java-index,Administration Tools,Sun Connection...