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

ORT hanging on analyze for multi-project Android app #5622

Closed
pirvudoru opened this issue Jul 28, 2022 · 5 comments
Closed

ORT hanging on analyze for multi-project Android app #5622

pirvudoru opened this issue Jul 28, 2022 · 5 comments
Labels
analyzer About the analyzer tool bug Issues that are considered to be bugs

Comments

@pirvudoru
Copy link

Description

I am trying to extract the list of dependencies of a multi-project, multi-flavor Android application using ORT.
What I am experiencing is that ort, once it reaches a certain project, it hangs.

Setup

Built ORT docker image at c2b17a9
Started the docker image with --cpus="3" to give it 3 cpus
export JAVA_OPTS="-Xmx12288M" to give java room to grow up to 12 gb of memory

Example in the image:
image

Reference to sample app to reproduce the same "hanging" behavior:
https://github.com/pirvudoru/SampleArchApp

Is there anything that can be done so that we get the analyzer-result for this type of project?

@sschuberth sschuberth added bug Issues that are considered to be bugs analyzer About the analyzer tool labels Jul 28, 2022
@sschuberth
Copy link
Member

sschuberth commented Jul 28, 2022

Might be related to #4694. Actually, it is something else.

@pirvudoru
Copy link
Author

Thanks @sschuberth. Is there any way to work around this issue for the moment?

@sschuberth
Copy link
Member

Is there any way to work around this issue for the moment?

I don't have an idea for a work-around right now, sorry.

@sschuberth
Copy link
Member

@pirvudoru there's a chance that #6276 also helps here, would you mind giving it a try?

@sschuberth
Copy link
Member

I've verified that with current ORT the analyzer is not hanging when scanning https://github.com/pirvudoru/SampleArchApp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool bug Issues that are considered to be bugs
Projects
None yet
Development

No branches or pull requests

2 participants