Can you post the Python sources of the Lucene part of your application?

One thing to check is how the JRE is being instantiated from Python, ie, what the equivalent setting is for -Xmx (= max heap size). It's possible the 140 MB consumption is actually "OK" as far as the JRE is concerned, if it was told it's allowed to use that much heap (or more).

Try letting it continue to run for a very long time to see how the size grows... if it's really a leak it will truly keep growing and eventually hit an OutOfMemory exception in Java or Python; if instead it's just the JRE thinking it's allowed to use that much heap it should at some point level off, but possibly at a high value.

Are you able to get the same memory leak to happen with a java only version of the Lucene part of your application?

Mike

Antony Joseph wrote:

Hi all,

I am using *Lucene* 2.3.1 and JCC 1.6 to create an *index* of my
python-based application(for searching).Everything is working fine.After some time(3 hours later) i found my python memory consumptions is grown to high when i started the applcaition(indexing) the python consumption is 40 mb , after 3 hours the python consumption shows 140mb . *The *performance of
Indexing become poor and memory leaks.

please help me to solve the problem.

Thanks
Antony







--
Antony Joseph A
DigitalGlue
[EMAIL PROTECTED]
T: +91 22 30601091


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

Reply via email to