Config max Heap size, initial heap size, stack size

java -Xmx1024M -Xms1024M -Xss4m -jar *filename*.jar

Xmx --> max heap size

Xms --> initial heap size

Xss --> stack size

or in eclipse: Run configuration --> Agurement tab

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch