I’m still trying to get it narrowed down to a single example. It seems to be 
centered around ReplaceText and some really long lines(100MB+) but when it 
happens the servers go completely non-responsive so it’s been hard getting 
thread dumps and logs from them.

Thanks
Shawn

From: Otto Fowler <[email protected]>
Sent: Sunday, November 14, 2021 9:54 PM
To: [email protected]
Subject: Re: ReplaceText Potential Memory Leak


I think this is worth a jira. Do you have a stack trace or anything?



From: Shawn Weeks <[email protected]><mailto:[email protected]>
Reply: [email protected]<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
Date: November 8, 2021 at 10:09:12
To: [email protected]<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
Subject:  ReplaceText Potential Memory Leak


I’m seeing an issue on 1.14.0 where if ReplaceText continuously hits a buffer 
overflow it will eventually overrun the memory on the server it’s running on 
and cause the server to stop responding at the OS Level. In my instance I’ve 
got vm.swappiness off and am running on the latest OpenJDK 11 on RedHat 7. I 
was wondering if anyone had seen this before. I’ve found some old java message 
boards that talk about text buffers bypassing the normal Java memory 
constraints but nothing all that recent.

Example flow will be oncoming once I work out the details.

Thanks
Shawn

Reply via email to