|
From: <php...@li...> - 2008-12-21 21:04:16
|
> $session = java_session();
> $session->put("param1", someJavaObject);
So you add a new object to the session store in each request and(!) keep the old objects referenced from a thread outside of the scope of the bridge?
> So, on the first page I am doing
> $sessionid=session_id();
> $myBackendHodler.storeParam1($sessionid, someJavaObject);
>
> On the second page I am doing
> $sessionid=session_id();
> $someJavaObject = $myBackendHodler.getParam1($sessionid);
someJavaObject should have been garbage collected, i.e. getParam1() should have returned null. If not, you have found the reason for the OOM.
Regards,
Jost Bökemeier
|