JavaScript heap out of memory

75 views
Skip to first unread message

David Brian Holt

unread,
Nov 9, 2021, 1:53:11 PM11/9/21
to DSpace Technical Support
I'm attempting to try out Dspace 7.1 using Docker but I'm getting this error message when building the Angular UI.

"FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - Javascript heap out of memory"

I using a MacBook Pro with 8GB of RAM and running no other applications.  SOLR and the REST api are loading correctly.  Is there a simple solution to this?

Thanks in advance,

David

David Brian Holt

unread,
Nov 9, 2021, 4:53:43 PM11/9/21
to DSpace Technical Support
Never mind.  I fixed this.  You can easily change the memory settings in the desktop app for Docker.  It works beautifully after changing it from 2GB to 4GB.

David

Reply all
Reply to author
Forward
0 new messages