# Exception OutOfMemoryError from UncaughtExceptionHandler

**URL:** <https://forum.universal-robots.com/t/exception-outofmemoryerror-from-uncaughtexceptionhandler/5554>\
**Category:** URCap Development\
**Created:** [November 12, 2019, 7:04am UTC](https://forum.universal-robots.com/t/exception-outofmemoryerror-from-uncaughtexceptionhandler/5554 "2019-11-12T07:04:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon99292792](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@anon99292792](https://forum.universal-robots.com/u/anon99292792)\
**Post date:** [November 12, 2019, 7:04am UTC](https://forum.universal-robots.com/t/exception-outofmemoryerror-from-uncaughtexceptionhandler/5554/1 "2019-11-12T07:04:36Z")

</div>

Hello,

I am having some troubles with m UrCap. After running a test program on a V5.5 for aprox. 3 hours the Polyscope freeze and in the Terminal is following Log:

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “fileinstall-/root/.urcaps”  
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “RTDE receiver”  
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Timer-24495”  
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Timer-24494”  
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “LogEntryModel-attachment-timer”  
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “ControllerConnectionT’hread”

Do anyone know a way to detect the source of exception?  
Attached is a screenshot of the logs

Thanks

 ![ExceptionOutOfMemory](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/8/81dbdac1c914581b3f00386ad98a645948a379dc.jpeg)
