Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-27 Thread Carlo Camerino
yes you need to set the max heap and min heap. It depends on a 32-bit 4 gig
machine usually it's nice to set it to
256  and 1524 to be safe.

There have been problems when you set it too high on our previous
implementations.
i'm not really sure as it's hard to size an application properly.

One thing I'm sure of though is to make sure you install websphere fix packs
or you'll have classloader problems.
Also upgrade jdk version..

Yes 1.3 stores it into disk. It stores that most recently visited page into
the session which makes memory consumption a lot less

On Mon, Apr 27, 2009 at 7:03 PM, prasun  wrote:

>
> thanks for replying.
> I was not looking for only native code usage, which I am sure wicket does
> not use.
>
> I have found out that in 1.3.x wicket uses 'DiskPageStore' to store some
> data to disk, whereas in 1.2.x all the data are in memory, is it correct?
>
> Would help if someone explains if wicket 1.2.x does any file I/O for
> storing
> PageMap data?
>
> thanks
> prasun
>
>
> Martijn Dashorst wrote:
> >
> > Wicket doesn't do anything with native stuff—we're doing pure Java.
> > Either you did something strange, or there's a bug in WebSphere or the
> > IBM JDK you're running into.
> >
> > Martijn
> >
> > On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS)
> >  wrote:
> >> Hi,
> >>
> >> Our web application use following configuration for development, and it
> >> frequently gives Java core dump without enough load.
> >> We contacted IBM support, who, after analysing dump file, has found that
> >> some of the html files of our app have been stored in the native memory
> >> space ( not heap memory) , presumably by wicket.
> >>
> >> Did any other user of wicket 1.2.x experience similar issues?
> >>
> >> Env:
> >> JDK = IBM JDK 1.4
> >> OS = Windows 2003 Server SP1
> >> Application Server = Websphere Process Server 6.0.2x
> >> Web application = Is a pure java app
> >> Wicket Version = 1.2.6
> >>
> >> Thanks
> >> prasun
> >>
> >>
> >> **
> >> This email (and any attachments) may contain privileged and/or
> >> confidential information. If you are not the intended recipient please
> do
> >> not disclose, copy, distribute, disseminate or take any action in
> >> reliance on it. If you have received this message in error please reply
> >> and tell us and then delete it. Should you wish to communicate with us
> by
> >> email we cannot guarantee the security of any data outside our own
> >> computer systems. For the protection of Legal & General's systems and
> >> staff, incoming emails will be automatically scanned. Any information
> >> contained in this message may be subject to applicable terms and
> >> conditions and must not be construed as giving investment advice within
> >> or outside the United Kingdom.
> >>
> >> Legal & General Group plc is registered in England under company number
> >> 1417162 and is a holding company.
> >>
> >> The registered office for all companies in the Legal & General group is
> >> One Coleman Street London EC2R 5AA.
> >>
> >> The following subsidiary companies of Legal & General Group Plc are
> >> authorised and regulated by the Financial Services Authority: Legal &
> >> General Partnership Services Limited, Legal & General Insurance Limited,
> >> Legal & General Assurance Society Limited, Legal & General (Unit Trust
> >> Managers) Limited and Legal & General (Portfolio Management Services)
> >> Limited.
> >>
> >> Legal & General International (Ireland) is incorporated in Ireland under
> >> company number 440141 with its registered office at Beaux Lane House,
> >> Lower Mercer Street, Dublin 2, Ireland and is authorised by the
> Financial
> >> Regulator in Ireland and by the Financial Services Authority for the
> >> conduct of insurance business in the UK.
> >>
> >> Full details can be found at http://www.legalandgeneralgroup.com
> >>
> >> **
> >>
> >
> >
> >
> > --
> > Become a Wicket expert, learn from the best: http://wicketinaction.com
> > Apache Wicket 1.3.5 is released
> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Native-memory-leak-using-wicket-1.2.6---IBM-JDK-1.4---Windows-2003-Server-SP1-tp23195156p23253981.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-27 Thread prasun

thanks for replying. 
I was not looking for only native code usage, which I am sure wicket does
not use.

I have found out that in 1.3.x wicket uses 'DiskPageStore' to store some
data to disk, whereas in 1.2.x all the data are in memory, is it correct?

Would help if someone explains if wicket 1.2.x does any file I/O for storing
PageMap data?

thanks
prasun


Martijn Dashorst wrote:
> 
> Wicket doesn't do anything with native stuff—we're doing pure Java.
> Either you did something strange, or there's a bug in WebSphere or the
> IBM JDK you're running into.
> 
> Martijn
> 
> On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS)
>  wrote:
>> Hi,
>>
>> Our web application use following configuration for development, and it
>> frequently gives Java core dump without enough load.
>> We contacted IBM support, who, after analysing dump file, has found that
>> some of the html files of our app have been stored in the native memory
>> space ( not heap memory) , presumably by wicket.
>>
>> Did any other user of wicket 1.2.x experience similar issues?
>>
>> Env:
>> JDK = IBM JDK 1.4
>> OS = Windows 2003 Server SP1
>> Application Server = Websphere Process Server 6.0.2x
>> Web application = Is a pure java app
>> Wicket Version = 1.2.6
>>
>> Thanks
>> prasun
>>
>>
>> **
>> This email (and any attachments) may contain privileged and/or
>> confidential information. If you are not the intended recipient please do
>> not disclose, copy, distribute, disseminate or take any action in
>> reliance on it. If you have received this message in error please reply
>> and tell us and then delete it. Should you wish to communicate with us by
>> email we cannot guarantee the security of any data outside our own
>> computer systems. For the protection of Legal & General's systems and
>> staff, incoming emails will be automatically scanned. Any information
>> contained in this message may be subject to applicable terms and
>> conditions and must not be construed as giving investment advice within
>> or outside the United Kingdom.
>>
>> Legal & General Group plc is registered in England under company number
>> 1417162 and is a holding company.
>>
>> The registered office for all companies in the Legal & General group is
>> One Coleman Street London EC2R 5AA.
>>
>> The following subsidiary companies of Legal & General Group Plc are
>> authorised and regulated by the Financial Services Authority: Legal &
>> General Partnership Services Limited, Legal & General Insurance Limited,
>> Legal & General Assurance Society Limited, Legal & General (Unit Trust
>> Managers) Limited and Legal & General (Portfolio Management Services)
>> Limited.
>>
>> Legal & General International (Ireland) is incorporated in Ireland under
>> company number 440141 with its registered office at Beaux Lane House,
>> Lower Mercer Street, Dublin 2, Ireland and is authorised by the Financial
>> Regulator in Ireland and by the Financial Services Authority for the
>> conduct of insurance business in the UK.
>>
>> Full details can be found at http://www.legalandgeneralgroup.com
>>
>> **
>>
> 
> 
> 
> -- 
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Native-memory-leak-using-wicket-1.2.6---IBM-JDK-1.4---Windows-2003-Server-SP1-tp23195156p23253981.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-27 Thread prasun

It is 'deployment' mode, good advise though.
By any chance, any recommendation on JVM -ms / -mx parameters for wicket
application?

What we have found that
we needed to set the 
1/ low -ms value. 
2/ comparatively high -mx value , but had to make sure that it does not
exceed half of the available memory of the box
 

Carlo Camerino wrote:
> 
> did yous witch your aplication to deployment mode.
> Using development mode in websphere using wicket will cause it to have
> memory leaks.
> Even in 1.3.5 we experience it.
> Try switching to deployment mode and see if helps
> 
> On Thu, Apr 23, 2009 at 10:20 PM, Martijn Dashorst <
> martijn.dasho...@gmail.com> wrote:
> 
>> Wicket doesn't do anything with native stuff—we're doing pure Java.
>> Either you did something strange, or there's a bug in WebSphere or the
>> IBM JDK you're running into.
>>
>> Martijn
>>
>> On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS)
>>  wrote:
>> > Hi,
>> >
>> > Our web application use following configuration for development, and it
>> > frequently gives Java core dump without enough load.
>> > We contacted IBM support, who, after analysing dump file, has found
>> that
>> > some of the html files of our app have been stored in the native memory
>> > space ( not heap memory) , presumably by wicket.
>> >
>> > Did any other user of wicket 1.2.x experience similar issues?
>> >
>> > Env:
>> > JDK = IBM JDK 1.4
>> > OS = Windows 2003 Server SP1
>> > Application Server = Websphere Process Server 6.0.2x
>> > Web application = Is a pure java app
>> > Wicket Version = 1.2.6
>> >
>> > Thanks
>> > prasun
>> >
>> >
>> > **
>> > This email (and any attachments) may contain privileged and/or
>> confidential information. If you are not the intended recipient please do
>> not disclose, copy, distribute, disseminate or take any action in
>> reliance
>> on it. If you have received this message in error please reply and tell
>> us
>> and then delete it. Should you wish to communicate with us by email we
>> cannot guarantee the security of any data outside our own computer
>> systems.
>> For the protection of Legal & General's systems and staff, incoming
>> emails
>> will be automatically scanned. Any information contained in this message
>> may
>> be subject to applicable terms and conditions and must not be construed
>> as
>> giving investment advice within or outside the United Kingdom.
>> >
>> > Legal & General Group plc is registered in England under company number
>> 1417162 and is a holding company.
>> >
>> > The registered office for all companies in the Legal & General group is
>> One Coleman Street London EC2R 5AA.
>> >
>> > The following subsidiary companies of Legal & General Group Plc are
>> authorised and regulated by the Financial Services Authority: Legal &
>> General Partnership Services Limited, Legal & General Insurance Limited,
>> Legal & General Assurance Society Limited, Legal & General (Unit Trust
>> Managers) Limited and Legal & General (Portfolio Management Services)
>> Limited.
>> >
>> > Legal & General International (Ireland) is incorporated in Ireland
>> under
>> company number 440141 with its registered office at Beaux Lane House,
>> Lower
>> Mercer Street, Dublin 2, Ireland and is authorised by the Financial
>> Regulator in Ireland and by the Financial Services Authority for the
>> conduct
>> of insurance business in the UK.
>> >
>> > Full details can be found at http://www.legalandgeneralgroup.com
>> >
>> > **
>> >
>>
>>
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> Apache Wicket 1.3.5 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Native-memory-leak-using-wicket-1.2.6---IBM-JDK-1.4---Windows-2003-Server-SP1-tp23195156p23253779.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Carlo Camerino
did yous witch your aplication to deployment mode.
Using development mode in websphere using wicket will cause it to have
memory leaks.
Even in 1.3.5 we experience it.
Try switching to deployment mode and see if helps

On Thu, Apr 23, 2009 at 10:20 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> Wicket doesn't do anything with native stuff—we're doing pure Java.
> Either you did something strange, or there's a bug in WebSphere or the
> IBM JDK you're running into.
>
> Martijn
>
> On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS)
>  wrote:
> > Hi,
> >
> > Our web application use following configuration for development, and it
> > frequently gives Java core dump without enough load.
> > We contacted IBM support, who, after analysing dump file, has found that
> > some of the html files of our app have been stored in the native memory
> > space ( not heap memory) , presumably by wicket.
> >
> > Did any other user of wicket 1.2.x experience similar issues?
> >
> > Env:
> > JDK = IBM JDK 1.4
> > OS = Windows 2003 Server SP1
> > Application Server = Websphere Process Server 6.0.2x
> > Web application = Is a pure java app
> > Wicket Version = 1.2.6
> >
> > Thanks
> > prasun
> >
> >
> > **
> > This email (and any attachments) may contain privileged and/or
> confidential information. If you are not the intended recipient please do
> not disclose, copy, distribute, disseminate or take any action in reliance
> on it. If you have received this message in error please reply and tell us
> and then delete it. Should you wish to communicate with us by email we
> cannot guarantee the security of any data outside our own computer systems.
> For the protection of Legal & General's systems and staff, incoming emails
> will be automatically scanned. Any information contained in this message may
> be subject to applicable terms and conditions and must not be construed as
> giving investment advice within or outside the United Kingdom.
> >
> > Legal & General Group plc is registered in England under company number
> 1417162 and is a holding company.
> >
> > The registered office for all companies in the Legal & General group is
> One Coleman Street London EC2R 5AA.
> >
> > The following subsidiary companies of Legal & General Group Plc are
> authorised and regulated by the Financial Services Authority: Legal &
> General Partnership Services Limited, Legal & General Insurance Limited,
> Legal & General Assurance Society Limited, Legal & General (Unit Trust
> Managers) Limited and Legal & General (Portfolio Management Services)
> Limited.
> >
> > Legal & General International (Ireland) is incorporated in Ireland under
> company number 440141 with its registered office at Beaux Lane House, Lower
> Mercer Street, Dublin 2, Ireland and is authorised by the Financial
> Regulator in Ireland and by the Financial Services Authority for the conduct
> of insurance business in the UK.
> >
> > Full details can be found at http://www.legalandgeneralgroup.com
> >
> > **
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Martijn Dashorst
Wicket doesn't do anything with native stuff—we're doing pure Java.
Either you did something strange, or there's a bug in WebSphere or the
IBM JDK you're running into.

Martijn

On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS)
 wrote:
> Hi,
>
> Our web application use following configuration for development, and it
> frequently gives Java core dump without enough load.
> We contacted IBM support, who, after analysing dump file, has found that
> some of the html files of our app have been stored in the native memory
> space ( not heap memory) , presumably by wicket.
>
> Did any other user of wicket 1.2.x experience similar issues?
>
> Env:
> JDK = IBM JDK 1.4
> OS = Windows 2003 Server SP1
> Application Server = Websphere Process Server 6.0.2x
> Web application = Is a pure java app
> Wicket Version = 1.2.6
>
> Thanks
> prasun
>
>
> **
> This email (and any attachments) may contain privileged and/or confidential 
> information. If you are not the intended recipient please do not disclose, 
> copy, distribute, disseminate or take any action in reliance on it. If you 
> have received this message in error please reply and tell us and then delete 
> it. Should you wish to communicate with us by email we cannot guarantee the 
> security of any data outside our own computer systems. For the protection of 
> Legal & General's systems and staff, incoming emails will be automatically 
> scanned. Any information contained in this message may be subject to 
> applicable terms and conditions and must not be construed as giving 
> investment advice within or outside the United Kingdom.
>
> Legal & General Group plc is registered in England under company number 
> 1417162 and is a holding company.
>
> The registered office for all companies in the Legal & General group is One 
> Coleman Street London EC2R 5AA.
>
> The following subsidiary companies of Legal & General Group Plc are 
> authorised and regulated by the Financial Services Authority: Legal & General 
> Partnership Services Limited, Legal & General Insurance Limited, Legal & 
> General Assurance Society Limited, Legal & General (Unit Trust Managers) 
> Limited and Legal & General (Portfolio Management Services) Limited.
>
> Legal & General International (Ireland) is incorporated in Ireland under 
> company number 440141 with its registered office at Beaux Lane House, Lower 
> Mercer Street, Dublin 2, Ireland and is authorised by the Financial Regulator 
> in Ireland and by the Financial Services Authority for the conduct of 
> insurance business in the UK.
>
> Full details can be found at http://www.legalandgeneralgroup.com
>
> **
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Jeremy Thomerson
I can't really remember - I just had to say that I think you win the
award for longest signature yet to this list.

--
Jeremy Thomerson
http://www.wickettraining.com




On Thu, Apr 23, 2009 at 6:37 AM, Basak, Prasan (TCS)
 wrote:
> Hi,
>
> Our web application use following configuration for development, and it
> frequently gives Java core dump without enough load.
> We contacted IBM support, who, after analysing dump file, has found that
> some of the html files of our app have been stored in the native memory
> space ( not heap memory) , presumably by wicket.
>
> Did any other user of wicket 1.2.x experience similar issues?
>
> Env:
> JDK = IBM JDK 1.4
> OS = Windows 2003 Server SP1
> Application Server = Websphere Process Server 6.0.2x
> Web application = Is a pure java app
> Wicket Version = 1.2.6
>
> Thanks
> prasun
>
>
> **
> This email (and any attachments) may contain privileged and/or confidential 
> information. If you are not the intended recipient please do not disclose, 
> copy, distribute, disseminate or take any action in reliance on it. If you 
> have received this message in error please reply and tell us and then delete 
> it. Should you wish to communicate with us by email we cannot guarantee the 
> security of any data outside our own computer systems. For the protection of 
> Legal & General's systems and staff, incoming emails will be automatically 
> scanned. Any information contained in this message may be subject to 
> applicable terms and conditions and must not be construed as giving 
> investment advice within or outside the United Kingdom.
>
> Legal & General Group plc is registered in England under company number 
> 1417162 and is a holding company.
>
> The registered office for all companies in the Legal & General group is One 
> Coleman Street London EC2R 5AA.
>
> The following subsidiary companies of Legal & General Group Plc are 
> authorised and regulated by the Financial Services Authority: Legal & General 
> Partnership Services Limited, Legal & General Insurance Limited, Legal & 
> General Assurance Society Limited, Legal & General (Unit Trust Managers) 
> Limited and Legal & General (Portfolio Management Services) Limited.
>
> Legal & General International (Ireland) is incorporated in Ireland under 
> company number 440141 with its registered office at Beaux Lane House, Lower 
> Mercer Street, Dublin 2, Ireland and is authorised by the Financial Regulator 
> in Ireland and by the Financial Services Authority for the conduct of 
> insurance business in the UK.
>
> Full details can be found at http://www.legalandgeneralgroup.com
>
> **
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Basak, Prasan (TCS)
Hi,

Our web application use following configuration for development, and it
frequently gives Java core dump without enough load.
We contacted IBM support, who, after analysing dump file, has found that
some of the html files of our app have been stored in the native memory
space ( not heap memory) , presumably by wicket.

Did any other user of wicket 1.2.x experience similar issues?

Env:
JDK = IBM JDK 1.4
OS = Windows 2003 Server SP1
Application Server = Websphere Process Server 6.0.2x
Web application = Is a pure java app
Wicket Version = 1.2.6

Thanks
prasun


**
This email (and any attachments) may contain privileged and/or confidential 
information. If you are not the intended recipient please do not disclose, 
copy, distribute, disseminate or take any action in reliance on it. If you have 
received this message in error please reply and tell us and then delete it. 
Should you wish to communicate with us by email we cannot guarantee the 
security of any data outside our own computer systems. For the protection of 
Legal & General's systems and staff, incoming emails will be automatically 
scanned. Any information contained in this message may be subject to applicable 
terms and conditions and must not be construed as giving investment advice 
within or outside the United Kingdom. 
 
Legal & General Group plc is registered in England under company number 1417162 
and is a holding company.
 
The registered office for all companies in the Legal & General group is One 
Coleman Street London EC2R 5AA.
 
The following subsidiary companies of Legal & General Group Plc are authorised 
and regulated by the Financial Services Authority: Legal & General Partnership 
Services Limited, Legal & General Insurance Limited, Legal & General Assurance 
Society Limited, Legal & General (Unit Trust Managers) Limited and Legal & 
General (Portfolio Management Services) Limited.
 
Legal & General International (Ireland) is incorporated in Ireland under 
company number 440141 with its registered office at Beaux Lane House, Lower 
Mercer Street, Dublin 2, Ireland and is authorised by the Financial Regulator 
in Ireland and by the Financial Services Authority for the conduct of insurance 
business in the UK. 
 
Full details can be found at http://www.legalandgeneralgroup.com

**