We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

What can I do if I get following error in Forte (Simulate or Visualize): Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap space?

    • FAQFAQ
      Participant

      Following error can be obtained in FORTE Simulate if mesh is manipulated. (split, merge etc…) or if you want to display very large meshes: Exception in thread “AWT-EventQueue-0” java.lang.OutOfMemoryError: Java heap space The error can appear in DOS or linux console. It means that not enough heap memory is allocated to Java. 2 alternative solutions are proposed: Method 1: You can set the Java heap memory by changing the preferences in Forte Launcher. You can change the memory for Forte Simulate and for Forte Visualize. (by default 8 192 Mb is set) Method 2: You can modify Java heap memory by setting following environment variable. setenv FORTE_MEMORY -Xmx16g That would increase the java heap memory to 16 GB. 10 GB is usually recommended. This aspect is commented in Appendix A.2 of Forte user’s guide.