At my former job, we had a memory leak not in our own application but a dependancy though.. Thats where jmeter and jprobe came into scope. It took me 12 hours of screen starin/running different scenarios to find out what it was, very boring but nice to see it wasnt my code.

regards Nino

Dipu Seminlal wrote:
i would say very less ,i wouldn't rule it out though.

On 10/8/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
What are the chances of you having a memory leak in your code?

regards Nino

Dipu Seminlal wrote:
yes it's in production mode

Regards
Dipu

On 10/8/07, Nino Saturnino Martinez Vazquez Wael <
[EMAIL PROTECTED]>
wrote:

Hmm this is always tricky.. I supose that you deployed wicket in
production mode?

If not the only way forward are using a memory profiler, and a
performance tester (because memory errors might not be obvious until
youve gotten a lot of clicks).

I'd suggest JProbe and JMeter...

http://www.quest.com/jprobe/memory-home.aspx
http://jakarta.apache.org/jmeter/

regards Nino

Dipu Seminlal wrote:

Hi,

One of our servers running wicket application  went down throwing out
of
memory error.
This is the first time it has ever happened, can any one throw some

light on

the reason for the issue.


2007-10-08 11:36:02:425 ERROR wicket.RequestCycle  [TP-Processor63] -

Method

onFormSubmitted of interface
wicket.markup.html.form.IFormSubmitListenertargeted at component
[MarkupContainer [Component id = searchForm, page =
com.xmltravel.fab1.wicket.flights.HorizontalSearchNavPage, path =
0:searchLandingPanel:searchForm.HorizontalSearchNavPagePanel$InputForm
,
isVisible = true, isVersioned = true]] threw an exception
wicket.WicketRuntimeException: Method onFormSubmitted of interface
wicket.markup.html.form.IFormSubmitListener targeted at component
[MarkupContainer [Component id = searchForm, page =
com.xmltravel.fab1.wicket.flights.HorizontalSearchNavPage, path =
0:searchLandingPanel:searchForm.HorizontalSearchNavPagePanel$InputForm
,
isVisible = true, isVersioned = true]] threw an exception
    at wicket.RequestListenerInterface.invoke(

RequestListenerInterface.java

:198)
    at


wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents
(ListenerInterfaceRequestTarget.java:74)
    at

wicket.request.compound.DefaultEventProcessorStrategy.processEvents(

DefaultEventProcessorStrategy.java:65)
    at


wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents
(

AbstractCompoundRequestCycleProcessor.java:57)
    at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java

:896)

    at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java

:929)

    at wicket.RequestCycle.step(RequestCycle.java:1010)
    at wicket.RequestCycle.steps(RequestCycle.java:1084)
    at wicket.RequestCycle.request(RequestCycle.java:454)
    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java
:219)
    at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java
:262)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:151)
    at org.apache.jk.server.JkCoyoteHandler.invoke(
JkCoyoteHandler.java
:200)

    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java

:283)

    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
:773)
    at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:703)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:895)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at wicket.RequestListenerInterface.invoke(

RequestListenerInterface.java

:187)
    ... 27 more
Caused by: java.lang.OutOfMemoryError: Java heap space


Regards
Dipu



---------------------------------------------------------------------
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]




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

Reply via email to