How to Increase Memory Allocation for GAMA Simulations

30 views
Skip to first unread message

adawal urbain

unread,
Jan 21, 2025, 11:31:04 PMJan 21
to GAMA

Dear GAMA Team,

I hope this message finds you well. I am encountering a memory issue while running a simulation on GAMA. Specifically, I receive the following error:

"Memory is low (0 megabytes). You should close the experiment, exit GAMA and give it more memory."

I am running GAMA on a computer with the following specifications:

  • Processor: Intel Core i7
  • RAM: 24 GB

Despite having sufficient hardware resources, it seems that GAMA is not utilizing the available memory effectively. I would like to know how to increase the memory allocation for GAMA to prevent this issue from recurring.

Could you kindly provide detailed steps or recommendations to adjust the memory settings? Additionally, if there are best practices for optimizing memory usage in GAMA simulations, I would appreciate your guidance.

Thank you for your assistance!

Best regards,
ADAWAL Urbain

WhatsApp Image 2025-01-21 at 23.59.24.jpeg

Kevin Chapuis

unread,
Jan 22, 2025, 2:28:25 AMJan 22
to gama-p...@googlegroups.com

Dear Adawal,


You can increase memory usage in the pref panel where you have the allocated memory, see here (https://gama-platform.org/wiki/Troubleshooting#memory-problems)

That being said, other than increasing a lot the number of agent you should not hit allocated memory, although they might be a memory issue with your model. Please check the number of agent or cycle duration over time to see if there is a leak in your simulation.

Best,

Kevin


--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gama-platform/6ce9c705-dd37-45ef-ac33-fbd45a1780ban%40googlegroups.com.

adawal urbain

unread,
Jan 25, 2025, 4:02:52 AMJan 25
to GAMA
Thanks Kevin
Reply all
Reply to author
Forward
0 new messages