Memory Allocating Error

8 views
Skip to first unread message

Tariq Naveed

unread,
Sep 9, 2025, 12:32:23 PM (10 days ago) Sep 9
to Biogeme
Greetings, I am facing a memory allocation error while estimating the hybrid choice model. Could you please advise me on how to resolve this issue?
  

XlaRuntimeError: INTERNAL: Buffer Definition Event: Error dispatching computation: Error dispatching computation: Error dispatching computation: Error dispatching computation: Error dispatching computation: Error preparing computation: Out of memory allocating 1283840000 bytes. when I use 1000 draws, a memory error occurs. I have 1 TB of SSD disk space and 32 GB of RAM.   

Thanks
Best regards 
Tariq Naveed
Screenshot 2025-09-08 150753.png

Michel Bierlaire

unread,
Sep 9, 2025, 12:35:28 PM (10 days ago) Sep 9
to tariq.n...@gmail.com, Michel Bierlaire, Biogeme
Use the latest version of Biogeme, that has just been released.
Also, do not run your script in a jupyter notebook. Run it directly from a shell, a terminal.
For large datasets and large number of draws, prefer linux or mac over windows.
> --
> You received this message because you are subscribed to the Google Groups "Biogeme" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/biogeme/87c1de0a-8f2c-4ae3-93e1-39cbe496666an%40googlegroups.com.
> <Screenshot 2025-09-08 150753.png>

Michel Bierlaire
Transport and Mobility Laboratory
School of Architecture, Civil and Environmental Engineering
EPFL - Ecole Polytechnique Fédérale de Lausanne
http://transp-or.epfl.ch
http://people.epfl.ch/michel.bierlaire

Tariq Naveed

unread,
Sep 9, 2025, 1:54:42 PM (10 days ago) Sep 9
to Michel Bierlaire, Biogeme
Thanks a lot. 

Yours sincerely,
Tariq Naveed
PhD student 
University of Cagliari
Reply all
Reply to author
Forward
0 new messages