Hi,
We have found java_values() method fails in some cases. when I try to
convert a 15 element array, it fails. But when I convert each element by
calling one by one there is no problem. Then I thought there is not enough
memory that is why 15 element array fails, but when I try to convert 30
element array there was no problem. Anybody can tell me what is the reason
for this. I think this is the bug in php-java bridge. php-java bridge
completely fails in this situation so that it can't throw an exception in
this case and looks hang. This causes out http requests remain in open state
and increase in memory due to increase in number of http processes and
finally server down. So it is causing memory leak in our application.
How can I increase memory available for JVM? I have increased it by
configuring in /etc/java.sh. I am using Apache 2.3 with php-java bridge 5.2.
php-java bridge is starting with Apache. I cant specify xmx value at that
time. Is it possible to allocate JVM to php-java bridge explicitly. Can
someone help me by giving detailed information? Also, sometimes my php-java
bridge looks hang even though I allocated 2GB JVM.
Thanks
Sareha
On Thu, Jan 8, 2009 at 7:43 PM, <php...@li...
> wrote:
> Hi,
>
> > There is memory leak
> > in php - java bridge. We have the following setup:
>
> there is no memory leak in the PHP/Java Bridge.
>
>
> > Is there any solution for memory leak in php-java bridge?
>
> Our FAQ "OutOfMemory Errors" has some hints which should help you to debug
> your Java code.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|