Eclipse for Cuda (nsight) crashes with Java heap space,unhandled event Loop exception error

Source: Internet
Author: User






Today found Nsight this artifact. is an eclipse-specific Cuda IDE. But unfortunately always crashes IDE quits.



These English error prompts appear:



Java Heap Space



An internal error occurred during:update Monitor



Unhandled Event Loop exception






Finally toss a sudden, found the solution.



Open configuration file Nsight.ini



Gedit/usr/local/cuda-5.5/libnsight/nsight.ini






See




--LAUNCHER.DEFAULTACTIONOPENFILE-VM. /jre/bin/java-vmargs-xx:compilecommand=exclude,java/lang/reflect/array,newinstance-dosgi.requiredjavaversion= 1.6-xms40m-xmx256m-xx:maxpermsize=256m

 








I changed-xmx256m directly to-xmx1024m. is to increase some heap memory.






Then it looks good, haha!



!!






References



1



Eclipse.ini:the memory for the VM running eclipse



The Eclipse installation folder changes to-xms800m-xmx800m in Eclipse.ini (PS: Let's say this step is OK. There is no need for a second step. I have conquered it by this.)



http://blog.csdn.net/wulongtiantang/article/details/7544883
Java Heap space Eclipse

2
Java heap Space is the reason the JVM is running out of memory when executing the program
Eclipse has the boot parameters to set the JVM size. Since Eclipse executes its own JVM, the JVM size set in Eclipse.ini is not the size of the JVM used to detail a program's execution, regardless of the size of the JVM that the detailed program executes.




Http://blog.sina.com.cn/s/blog_6e6315e30100u9b6.html
Eclipse Java Heap Space Solution


3
To illustrate the meaning:
-xms128m
Represents the JVM heap (heap memory) minimum size 128MB, initial allocation
-xmx512m
Represents the maximum consent size of the JVM heap (heap memory) 256MB, on demand.
http://blog.csdn.net/zhuxiaowenlinda/article/details/7863986
JVM Virtual machine options: Xms Xmx permsize maxpermsize Differences



Eclipse for Cuda (nsight) crashes with Java heap space,unhandled event Loop exception error


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.