Hello,
 
I'm searching for a solution to the following problem: My application
allows a user to configure a personalized calendar (kind of wall
calendar) with some individual dates and own images. The user has the
chance to see the product as a preview pdf file. As the application is
integrated into a portal system, the user can buy such a calendar. 
In the beggining (under 10 active users) the application ran very
stable. Nowadays we have over 50 (up to 800) active users running the
application. Since three months we have observed a problem with an
OutOfMemory exception. The application gives the following error message
and crashes:
 
java.lang.OutOfMemoryError: unable to create new native thread


I've also observed that the following exception is being thrown several
times before the OutOfMemory exception:

org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMet
hod(ListenerMethodInvokerImpl.java:164)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(L
istenerMethodInvokerImpl.java:124)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMet
hod(ListenerMethodInvokerImpl.java:69)
org.apache.tapestry.listener.SyntheticListener.actionTriggered(Synthetic
Listener.java:51)
org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(Li
stenerInvokerTerminator.java:51)
$ListenerInvoker_1184f8979ed.invokeListener($ListenerInvoker_1184f8979ed
.java)
org.apache.tapestry.form.AbstractSubmit.handleClick(AbstractSubmit.java:
81)
...



I've tried to optimize my java virtual machine (maximum heap size) and
I've increased the maximum thread value. Unfortunately this has only
delayed the time until the exception was thrown. 

I'm using:
- Java 1.5.0_04-b05
- Apache Tomcat 5.5.9
- Tapestry 4.0.2
- Windows 2003  


Has anyone of you had the described problem?? Any suggestions are very
welcome, since I couldn't find any solution elsewhere.


Kind regards,

Michael Mlynarski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to