Skip to content
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

Significant Differences in Memory Usage between JQF-1.9 and JQF-2.0 #243

Open
dingyangny opened this issue Nov 6, 2023 · 1 comment
Open

Comments

@dingyangny
Copy link

Hello author!
I used the command line to test the methods in the "/examples" directory, with the test class being edu.berkeley.cs.jqf.examples.bcel.ParserTest and the test method being testWithGenerator. The command line is as follows:

 mvn jqf:fuzz -Dclass=edu.berkeley.cs.jqf.examples.bcel.ParserTest -Dmethod=testWithGenerator -Dtime=24h

However, I found that there are significant differences in memory usage between running with jqf-1.9 and jqf-2.0. The memory usage of jqf-1.9 is approximately 1GB, while the memory usage of jqf-2.0 is mostly above 5GB, even reaching over 8GB.

I want to know why this difference occurs and whether there is a way to reduce the memory usage of jqf-2.0, as I need to conduct multiple sets of tests simultaneously on one machine.

@rohanpadhye
Copy link
Owner

Hi @YangDingNY. This is a very interesting observation. Thanks for reporting it!

Let me tag @aoli-al who has done some memory profiling in the past. Leo, have you noticed this difference before or have any idea how to discover the source of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants