It is probably a good idea to profile your application. With 512 MB
you should typically be able to serve a couple of thousand concurrent
sessions without problems with Wicket 1.3.

Eelco


On 10/15/07, JKrishna <[EMAIL PROTECTED]> wrote:
>
> I have generated a project using QWicket. I ran the build on Tomcat 6 and the
> initial user registration and user authentication worked fine. I added a
> simple form and insert those values into the database using Spring +
> Hibernate. While submitting the form, the values are getting inserted into
> the database. But during the navigation part, the application times out with
> the following error
>
> I modified the QWicket generated code to use Wicket 1.3 beta 3 build.
>
> Root cause:
>
> java.lang.OutOfMemoryError: Java heap space
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of
> interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
> component [MarkupContainer [Component id = trip, page =
> com.tripos.page.NewTripPage, path = 3:trip.NewTripPage$NewTripForm,
> isVisible = true, isVersioned = true]] threw an exception
> at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:197)
> at
> org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1032)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1108)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1177)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:500)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:261)
>
> The environment is Tomcat 6 running on OS X Tiger on Mac Mini with 512 MB
> ram. I added Java_OPTS to have JAVA_OPTS="-Xms512m -Xmx512m".
>
> Is this problem because of insufficient memory?
>
>
> --
> View this message in context: 
> http://www.nabble.com/java.lang.OutOfMemoryError%3A-Java-heap-space-on-Tomcat-6-tf4627444.html#a13212670
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to