Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Heap space error of NVIDIA Visual Profiler

📅 2013-Sep-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ heap space, nvidia visual profiler ⬩ 📚 Archive

Problem

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)

Solution

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


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email