From: Krist on
On 18 Feb, 22:39, Lew <no...(a)lewscanon.com> wrote:
> Krist wrote:
> > From the output below, is there any sign of memory leak ?
>
> There is no sign of a memory "leak".
> There is no sign of a lack of a memory "leak".
>
> --
> Lew

Hi sir,

What can be the signs, if indeed there is the "leak" ?

Thank you,
Krist
From: RedGrittyBrick on
On 18/02/2010 17:01, Krist wrote:
> On 18 Feb, 22:39, Lew<no...(a)lewscanon.com> wrote:
>> Krist wrote:
>>> From the output below, is there any sign of memory leak ?
>>
>> There is no sign of a memory "leak".
>> There is no sign of a lack of a memory "leak".
>>
>
> What can be the signs, if indeed there is the "leak" ?
>

Firstly, I think you may mean what some people call packratting rather
than the usual meaning of "memory leak".
<http://mindprod.com/jgloss/packratting.html>

Secondly, because you started this discussion, I imagine you already
have some sign that you consider indicative of a "memory leak". What
sign was that?

If I obtained that GCViewer output on four successive days and found
that FootPrint was monotonically increasing, I'd feel it was a sign of
something that might need investigation.

Some ideas here on "How to search for leaks"
http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/16d16e4f9b7d9509/4a58432ba88fa526


--
RGB
From: John B. Matthews on
In article <4b7d7eba$0$2486$db0fefd9(a)news.zen.co.uk>,
RedGrittyBrick <RedGrittyBrick(a)spamweary.invalid> wrote:

> On 18/02/2010 17:01, Krist wrote:
> > On 18 Feb, 22:39, Lew<no...(a)lewscanon.com> wrote:
> >> Krist wrote:
> >>> From the output below, is there any sign of memory leak ?
> >>
> >> There is no sign of a memory "leak".
> >> There is no sign of a lack of a memory "leak".
> >
> > What can be the signs, if indeed there is the "leak" ?
>
> Firstly, I think you may mean what some people call packratting
> rather than the usual meaning of "memory leak".
> <http://mindprod.com/jgloss/packratting.html>
>
> Secondly, because you started this discussion, I imagine you already
> have some sign that you consider indicative of a "memory leak". What
> sign was that?
>
> If I obtained that GCViewer output on four successive days and found
> that FootPrint was monotonically increasing, I'd feel it was a sign
> of something that might need investigation.
>
> Some ideas here on "How to search for leaks"
> http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/16d16e4f9b7d9509/4a58432ba88fa526

For reference, I have updated the graphs mentioned in that thread:

<http://sites.google.com/site/trashgod/garbageheap>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
From: Krist on
On 19 Feb, 00:54, RedGrittyBrick <RedGrittyBr...(a)spamweary.invalid>
wrote:
> On 18/02/2010 17:01, Krist wrote:
>
> > On 18 Feb, 22:39, Lew<no...(a)lewscanon.com>  wrote:
> >> Krist wrote:
> >>>  From the output below, is there any sign of memory leak ?
>
> >> There is no sign of a memory "leak".
> >> There is no sign of a lack of a memory "leak".
>
> > What can be the signs, if indeed there is the "leak" ?
>
> Firstly, I think you may mean what some people call packratting rather
> than the usual meaning of "memory leak".
> <http://mindprod.com/jgloss/packratting.html>
>
> Secondly, because you started this discussion, I imagine you already
> have some sign that you consider indicative of a "memory leak". What
> sign was that?
>
> If I obtained that GCViewer output on four successive days and found
> that FootPrint was monotonically increasing, I'd feel it was a sign of
> something that might need investigation.
>
> Some ideas here on "How to search for leaks"http://groups.google.com/group/comp.lang.java.programmer/browse_threa...
>
> --
> RGB
Hi Sir,
The sign is : intermittently, the JVM got not responding and the apps
server restart it. That is the sign that make me think that what cause
the JVM restart :

Memory leak ?
Full GC ?
Setting the Heap not correct : -ms3072M -mx3072M -XX:
+UseConcMarkSweepGC -XX:+UseParNewGC -
XX:MaxPermSize=1024M ???

What may cause the JVM to no responding ?

Thank you,
Krist



From: Krist on
On 19 Feb, 12:36, Krist <krisl...(a)gmail.com> wrote:
> On 19 Feb, 00:54, RedGrittyBrick <RedGrittyBr...(a)spamweary.invalid>
> wrote:
>
>
>
> > On 18/02/2010 17:01, Krist wrote:
>
> > > On 18 Feb, 22:39, Lew<no...(a)lewscanon.com>  wrote:
> > >> Krist wrote:
> > >>>  From the output below, is there any sign of memory leak ?
>
> > >> There is no sign of a memory "leak".
> > >> There is no sign of a lack of a memory "leak".
>
> > > What can be the signs, if indeed there is the "leak" ?
>
> > Firstly, I think you may mean what some people call packratting rather
> > than the usual meaning of "memory leak".
> > <http://mindprod.com/jgloss/packratting.html>
>
> > Secondly, because you started this discussion, I imagine you already
> > have some sign that you consider indicative of a "memory leak". What
> > sign was that?
>
> > If I obtained that GCViewer output on four successive days and found
> > that FootPrint was monotonically increasing, I'd feel it was a sign of
> > something that might need investigation.
>
> > Some ideas here on "How to search for leaks"http://groups.google.com/group/comp.lang.java.programmer/browse_threa...
>
> > --
> > RGB
>
> Hi Sir,
> The sign is : intermittently, the JVM got not responding  and the apps
> server restart it. That is the sign that make me think that what cause
> the JVM restart :
>
> Memory leak ?
> Full GC ?
> Setting the Heap not correct : -ms3072M -mx3072M -XX:
> +UseConcMarkSweepGC -XX:+UseParNewGC -
> XX:MaxPermSize=1024M  ???
>
> What may cause the JVM to no responding ?
>
> Thank you,
> Krist- Sembunyikan teks kutipan -
>
> - Perlihatkan teks kutipan -

Hi,

I Forget to include the error in log file when the JVM restart : there
is 'Too many open files' error.

10/02/08 05:34:40 oracle.ias.opmn.optic.OpticBadConnectException:
Error connecting to OPMN (is it running?): Too many open files
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:451)
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:178)
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130)
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347)
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467)
10/02/08 05:34:40 at
oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:615)
10/02/08 05:34:40 at oracle.dms.address.Optic.getAddresses(Unknown
Source)
10/02/08 05:34:40 at
oracle.dms.address.OpmnDiscoverer.getAddresses(Unknown Source)
10/02/08 05:34:40 at
oracle.dms.address.Discoverer.searchAddresses(Unknown Source)
10/02/08 05:34:40 at
oracle.dms.address.AddressBook.discoverAddresses(Unknown Source)
10/02/08 05:34:40 at oracle.dms.collector.Hunter.setOff(Unknown
Source)
10/02/08 05:34:40 at oracle.dms.aggregator.Timer.run(Unknown Source)
10/02/08 05:34:40 at java.lang.Thread.run(Thread.java:595)
10/02/08 05:34:51 oracle.ias.opmn.optic.OpticBadConnectException:
Error reading formFactorFile: /opt/oracle/product/10.1.3.1/OracleAS_1/
opmn/conf/.formfactor (/opt/oracle/product/10.1.3.1/OracleAS_1/opmn/
conf/.formfactor (Too many open files))
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnPhone.refreshFormFactor(OpmnPhone.java:328)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnPhone.refreshConnectionInfo(OpmnPhone.java:
278)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:174)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467)
10/02/08 05:34:51 at
oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:615)
10/02/08 05:34:51 at oracle.dms.address.Optic.getAddresses(Unknown
Source)
10/02/08 05:34:51 at
oracle.dms.address.OpmnDiscoverer.getAddresses(Unknown Source)
10/02/08 05:34:51 at
oracle.dms.address.Discoverer.searchAddresses(Unknown Source)
10/02/08 05:34:51 at
oracle.dms.address.AddressBook.discoverAddresses(Unknown Source)
10/02/08 05:34:51 at oracle.dms.collector.Hunter.setOff(Unknown
Source)
10/02/08 05:34:51 at oracle.dms.aggregator.Timer.run(Unknown Source)
10/02/08 05:34:51 at java.lang.Thread.run(Thread.java:595)
10/02/08 05:35:25 oracle.ias.opmn.optic.OpticBadConnectException:
Error reading formFactorFile: /opt/oracle/product/10.1.3.1/OracleAS_1/
opmn/conf/.formfactor (/opt/oracle/product/10.1.3.1/OracleAS_1/opmn/
conf/.formfactor (Too many open files))
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnPhone.refreshFormFactor(OpmnPhone.java:328)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnPhone.refreshConnectionInfo(OpmnPhone.java:
278)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:174)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467)
10/02/08 05:35:25 at
oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:615)
10/02/08 05:35:25 at oracle.dms.address.Optic.getAddresses(Unknown
Source)
10/02/08 05:35:25 at
oracle.dms.address.OpmnDiscoverer.getAddresses(Unknown Source)
10/02/08 05:35:25 at
oracle.dms.address.Discoverer.searchAddresses(Unknown Source)
10/02/08 05:35:25 at
oracle.dms.address.AddressBook.discoverAddresses(Unknown Source)
10/02/08 05:35:25 at oracle.dms.collector.Hunter.setOff(Unknown
Source)
10/02/08 05:35:25 at oracle.dms.aggregator.Timer.run(Unknown Source)
10/02/08 05:35:25 at java.lang.Thread.run(Thread.java:595)

Thanks,
Krist