-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memleax crashes the monitored process too - using version 1.1.1-1 #45
Comments
I saw the following error in console rarely. Error in open /proc/pid/maps: No such file or directory |
There are still some bugs that you can found in issue list. As said in README, memleax is complex and I do not maintain it any more. If you still prefer memleax, please let me know. Thanks. |
Hi,
Thanks for the reply. Looks like we are hitting one of the following issues
in a multithreaded environment. Where the memleax crashes the monitored
process too. We are still interested in the current implementation, would
like to know if you have any quick patch for the issue so that we shall try
and get back.
#6
#24
Regards,
Narasimhan
…On Wed, Jan 2, 2019 at 3:05 PM WuBingzheng ***@***.***> wrote:
There are still some bugs that you can found in issue list.
They are all about multi-thread.
As said in README, memleax is complex and I do not maintain it any more.
While you may try my another tool libleax
<https://github.com/WuBingzheng/libleak> to debug memory leak, which is
much simpler.
If you still prefer memleax, please let me know. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AsKnY94RoNmYkSpB9aOVJnQjVDj6RmrPks5u_H1vgaJpZM4ZmQx_>
.
|
Hi, Thanks for the reply. Looks like we are hitting one of the following issues in a multithreaded environment. Where the memleax crashes the monitored process too. We are still interested in the current implementation, would like to know if you have any quick patch for the issue so that we shall try and get back. Regards, |
Sorry, there is no patch. Because it's too complicated, and I think libleak it's better. Would you like tell me why you prefer memleax to libleak? |
Hi, I am using this memleax tool in an jvm environment. I monitored the java process for native memory leak detection but the the target process crashing. I need this memleax tool because this tool is excellent in attaching to the process and identifying the memleak and I tried valgrind it is not working. Now memleax is also not working and with libleak.so the jvm not starting at all. Kindly help in fixing the problem in memleax tool it will be more more helpful. Stress is building in office. Kindly help in fixing the problem of target process crash. still existing in 1.1.1 as well. Kindly let me know what log you need to solve the problem. |
libleak is much simpler than memleax. If libleak can not work with jvm, it's likely than memleak can not work with jvm neither even if the current bug fixed. Whose memory leak do you want to detect? Is jvm itself, or your java programs running on jvm? |
It's too hard to fix memleax's bug. I am not able to fix it. |
HI,
Thanks a lot for your reply. I am trying to detect the memleak from JNI
code as you know it is working in combination with JVM. I tried to load the
libleak.so by export LD_PRELOAD=pathto libleak.so
This time the program itself is not starting to run. I dont know now which
tool to use for detecting the memleak from native side.
Thanks a lot once again.
Regards,
Raghav
…On Tue, Dec 17, 2019 at 3:12 PM WuBingzheng ***@***.***> wrote:
libleak is much simpler than memleax. If libleak can not work with jvm,
it's likely than memleak can not work with jvm neither even if the current
bug fixed.
Whose memory leak do you want to detect? Is jvm itself, or your java
programs running on jvm?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#45?email_source=notifications&email_token=AHUDD2P5JC2AONHIPBDHTCDQZCNJVA5CNFSM4GMZBR72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHBY25Q#issuecomment-566463862>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHUDD2NQRY7Y53GM3SHJZ5DQZCNJVANCNFSM4GMZBR7Q>
.
|
Both memleax and libleak are useful if you can not modify the target program's source code. If you can modify it, you may use hooks for malloc. memleak and libleak may be too naive to work with complex programs such as JVM. |
Hi,
I have been trying to use memleax. Am observing the problem of memleax crashes the targetted/monitored process also after few repetitions of starting and killing the memleax using CTRL+C
I have gone thru the discussions in this regard and suggestion to use version 1.1.1-1 but still seeing the issue.
Please let me know if you have any input in this regard. Following are my system details.
Linux OS10 4.9.110 #1 SMP Debian 4.9.110-3+deb9u4 x86_64
The text was updated successfully, but these errors were encountered: