Heap space error of NVIDIA Visual Profiler


I profile a CUDA application using NVIDIA Visual Profiler on Ubuntu. It throws up this error:

Profiling failed
Unable to profile application.
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.OutOfMemoryError: Java heap space)


On Ubuntu, NVIDIA Visual Profiler is a Java program that executes on your JVM. This error indicates that the JVM is running out of memory for the heap space. You can increase the heap space for NVIDIA Visual Profiler just like you can do it for Eclipse. The only difference is the configuration file, which here is nvvp.ini. For my CUDA 5 installation on Ubuntu, I found it at /usr/local/cuda-5.0/libnvvp/nvvp.ini

Tried with: CUDA 5 and Ubuntu 12.04 LTS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s