Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

infinitely long scan #155

Open
almaz045 opened this issue Aug 21, 2024 · 2 comments
Open

infinitely long scan #155

almaz045 opened this issue Aug 21, 2024 · 2 comments

Comments

@almaz045
Copy link

almaz045 commented Aug 21, 2024

I tried run "atom reachables -o app.atom -s reachables.json -l c ." on tarantool repo to test C lang. Then it's printed: "Exception in thread "" java.lang.OutOfMemoryError: Java heap space"
Then I tried to run atom with next command:
/atom/bin/atom -J-Xmx16g reachables -o app.atom -s reachables.json -l c .

But it scans infinitely, I waited for couple hours.

Then tried like this: atom/bin/atom -J-Xmx16g reachables -o app.atom -s reachable.json -l c . -J-XX:+UseG1GC -J-XX:+UseStringDeduplication

And it scans infinitely too

@prabhu
Copy link
Contributor

prabhu commented Aug 27, 2024

We have known performance issues with c/c++ and java with > 30K loc.

@prabhu
Copy link
Contributor

prabhu commented Sep 3, 2024

Completes within a minute for me with the default. Do you have the latest atom?

/mnt/work/AppThreat/atom/atom.sh reachables -l c -o app.atom .
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djna.library.path=/home/prabhu/miniconda3/envs/chenpy-dev/lib
Generating data-flow dependencies from atom. Please wait ...
Slicing the atom for reachables. This might take a few minutes ...
Falling back to using reverse reachability to determine flows. Max DDG depth used: 7
Slices have been successfully written to /mnt/work/sandbox/tarantool/slices.json

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

No branches or pull requests

2 participants