From: Janno M. <jan...@tr...> - 2005-12-01 11:14:20
|
Hi, I'm using the bridge to make about 50000 calls to a Java method that takes ArrayList as a parameter (containing some Date, Integer and String objects) and returns a HashMap. My script causes java.lang.OutOfMemory error. Is there a way to destroy Java objects in PHP script and release memory? I've tried unsetting the objects in PHP and also calling garbage collector directly (via Runtime class) but it doesn't seem to help. I'm using PHP4 and JavaBridge version 1.0.6a. Would newer versios work better for me? Any help greatly appreciated. BR, Janno |