Increasing JVM heap memory while running TLC

15 views
Skip to first unread message

Aman Shaikh

unread,
Mar 11, 2023, 11:28:51 PM3/11/23
to tlaplus
Hi

While running TLC, I'm running into a heap memory exhaustion issue:

JVM heap exhausted: Java heap space
Error: Java ran out of memory.  Running Java with a larger memory allocation pool (heap) may fix this.

Is there a way to specify higher JVM options while running TLC through the command-line?

thx
aman

Markus Kuppe

unread,
Mar 12, 2023, 11:22:45 PM3/12/23
to tla...@googlegroups.com
Hi Aman,

to increase TLC’s heap size, do

$ java -Xmx<heap_size> -jar tla2tools.jar …


By the way, the Toolbox logs every TLC invocation:

$ grep 'TLC COMMAND-LINE' ~/.tlaplus/.metadata/.log

Markus

Aman Shaikh

unread,
Mar 13, 2023, 9:33:15 AM3/13/23
to tla...@googlegroups.com
Thanks Markus.

aman

--
You received this message because you are subscribed to a topic in the Google Groups "tlaplus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tlaplus/bnkKktREhVo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tlaplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/9EDF81D1-D5EF-45D7-804E-118636E04CB2%40lemmster.de.
Reply all
Reply to author
Forward
0 new messages