Eclipse RCP plugin application which has a mix of SWT and swing/awt windows getting crashed randomly in Windows 7 64 bit. Especially when i open SWING/awt dialogs. I cant able to debug even when i use -consoleLog in .ini file since it hangs as well along with the application.
The build details are given below.
JRE Version : 1.6_u04
NSIS Installer
.ini config : -vmargs-Xms64m -Xmx1024m
When i change the jre to 1.6_u18 it works fine. As update 18 provides win 7 support. But still some window freezes :( If i reduce -Xmx value to 512m then it works properly. Rarely Java Heap space problem also arises.
Pls guide me the proper way of fixing this issue. Also let me know if we need to adjust Heap space in OS ? The application installer comes along the with bundles of JRE 1.6_u04 itself. Will there be any issue of max heap size in windows 7? Please advice !!