Re: JNI memory leak?

2020-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/24/20 17:46, Mark Boon wrote: > Thanks Chris for taking the time. > > As you point out, from the threads I can tell we're not using ARP > as the names al all starting with "jsse". AFAI could find out BouncyCastle is a pure Java

Re: JNI memory leak?

2020-04-24 Thread Mark Boon
Thanks Chris for taking the time. As you point out, from the threads I can tell we're not using ARP as the names al all starting with "jsse". AFAI could find out BouncyCastle is a pure Java implementation, so that also can't be the cause. Someone suggested PAMLibrary may be the culprit. So I

Re: JNI memory leak?

2020-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/3/20 21:48, Mark Boon wrote: > For the past few months we’ve been trying to trace what looks like > gradual memory creep. After some long-running experiments it seems > due to memory leaking when jni_invoke_static(JNIEnv_*, JavaValue*, >

Re: JNI memory leak?

2020-04-06 Thread calder
> On Sat, Apr 4, 2020 at 10:39 AM Thomas Meyer wrote: > > April 2020 14:53:17 MESZ schrieb calder wrote: [ snip ] > >So, ultimately, I'm confused why we think Tomcat is "to blame" as > >there is no evidence it uses JNI. > >It's my experience JNI memory issues are related to the Java JNI or >

Re: JNI memory leak?

2020-04-05 Thread calder
On Sat, Apr 4, 2020, 12:02 Mark Boon wrote: > I don't have 'proof' Tomcat is to blame. Hence the question-mark. All I > have managed is narrow it down to this NMT data, which is not very > informative. I hoped anyone could give me an idea how or where to > investigate further. Or if someone had

[OT] Re: JNI memory leak?

2020-04-04 Thread Mark Thomas
On April 4, 2020 7:26:05 PM UTC, calder wrote: >m > >On Sat, Apr 4, 2020, 14:14 Frank Tornack wrote: > >> Good evening, >> I have a question about your e-mail address. Why does the address end >> on com.INVALID? How do you get such an address? >> > >That question is off topic. Subject line

Re: JNI memory leak?

2020-04-04 Thread calder
m On Sat, Apr 4, 2020, 14:14 Frank Tornack wrote: > Good evening, > I have a question about your e-mail address. Why does the address end > on com.INVALID? How do you get such an address? > That question is off topic. The invalid is too avoid spam email

Re: JNI memory leak?

2020-04-04 Thread Frank Tornack
Good evening, I have a question about your e-mail address. Why does the address end on com.INVALID? How do you get such an address? Sorry for the interposed question, Am Samstag, den 04.04.2020, 01:48 + schrieb Mark Boon: > For the past few months we’ve been trying to trace what looks like >

Re: JNI memory leak?

2020-04-04 Thread Mark Boon
ocation. > And we leaked just under 700Mb. While not immediately problematic, this does not bode well for our customers who run this service for months. > > I’d like to avoid telling them they need to restart this service every two weeks to reclaim memory. Has anyone seen so

Re: JNI memory leak?

2020-04-04 Thread Thomas Meyer
not immediately problematic, >this does not bode well for our customers who run this service for >months. >> >> I’d like to avoid telling them they need to restart this service >every two weeks to reclaim memory. Has anyone seen something like this? >Any way it could be avoided

Re: JNI memory leak?

2020-04-04 Thread calder
art this service every two > weeks to reclaim memory. Has anyone seen something like this? Any way it > could be avoided? I'm a bit confused. Your stated title is "JNI Memory Leak?" Tomcat, to my intimate knowledge, does not use JNI (correct me if I'm rwong) ( quick check us

JNI memory leak?

2020-04-03 Thread Mark Boon
For the past few months we’ve been trying to trace what looks like gradual memory creep. After some long-running experiments it seems due to memory leaking when jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) is invoked. Somewhere. My