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

Java Heap out of memory due to AngularQueuingModel #6

Open
jugdemon opened this issue Nov 30, 2017 · 4 comments
Open

Java Heap out of memory due to AngularQueuingModel #6

jugdemon opened this issue Nov 30, 2017 · 4 comments
Labels

Comments

@jugdemon
Copy link
Collaborator

As the area I work with is rather large, the hard-coded lattice setting of 0.23 in line 159 is causing a memory bubble. Probably an attribute of the queuing model specification in the xml should be used. It seems that safetyDistance usually uses the smallest value and could be used as the low resolution boundary.

@PeterMKielar
Copy link
Collaborator

If you don't need queuing use the Queuing type NoQueuing.
You are right, this has to be changed.

@PeterMKielar
Copy link
Collaborator

<queuingModels>
<queuing id="6" name="noQueuing" type="NoQueuing"/>
</queuingModels>
See momentum-documentation\UserGuide\Explanations\BehaviorModelExamples\TacticalBehaviorModelExamples

@jugdemon
Copy link
Collaborator Author

jugdemon commented Dec 5, 2017

Thank you, I switched to noQueuing as at my scale it will not be necessary.

@PeterMKielar
Copy link
Collaborator

You might also deactivate the participating / staying model and set to to type="NoStaying".
The agent will then simply walk towards the center of a destination or intermediate area.

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

No branches or pull requests

2 participants