DesigniteJava
DesigniteJava copied to clipboard
Recursive inheritance depth analysis causes StackOverflows in large projects
Temporarily patched with Exception handling.
I think this is related:
When I run Designite over the Android project SteamGifts I get weird overflow messages:
- "Inheritance depth analysis step skipped due to memory overflow"
- "Ancestors analysis skipped due to memory overflow"
This sentenced get repeated several times in the output.
Notes:
- The version I am using was downloaded today from the official website
- README minor fix:
Designite.jar-->DesigniteJava.jar
Hi, I'm facing the same problem when analyzing large projects such as Elasticsearch (v1.2.2). Is there any workaround for this problem?
Hi,
The work around of course is to exchange recursion with a more itterative approach. As far as I remember I used recursion in graph class where a DFS is used. The workaround is to use a stack (data structure) to keep track on what the algorithm has explored.
I don't think it is too troublesome to tweek the code, once the DFS functionality is found.
T.Stassinopoulos
On Fri, Apr 5, 2019 at 9:04 PM Willian Nalepa Oizumi < [email protected]> wrote:
Hi, I'm facing the same problem when analyzing large projects such as Elasticsearch (v1.2.2). Is there any workaround for this problem?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tushartushar/DesigniteJava/issues/52#issuecomment-480369846, or mute the thread https://github.com/notifications/unsubscribe-auth/AKvKoNf5Ej0GxsyYtlaXApYxV7z_BlAEks5vd5AogaJpZM4U3qCk .