Questions Tagged With memoryhttps://answers.axonivy.com/tags/memory/?type=rss&user=SupportIvyTeamquestions tagged <span class="tag">memory</span>enFri, 17 Aug 2018 03:54:03 -0400Cant' start Axon.ivy Engine: JVM cannot allocate enough Memoryhttps://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memory<pre><code>Error occurred during initialization of VM Could not reserve enough space for object heap Create registry entry 'SYSTEM\CurrentControlSet\Services\EventLog\Application\AxonIvyEngineConfig Launchers' for event log if it does not exists Error: Could not initialize java virtual machine (-4) </code></pre>SupportIvyTeamFri, 17 Aug 2018 03:54:03 -0400https://answers.axonivy.com/questions/3396/cant-start-axon-ivy-engine-jvm-cannot-allocate-enough-memoryenginememoryBest practices to reduce the memory that is used by a single Html Dialog?https://answers.axonivy.com/questions/2987/best-practices-to-reduce-the-memory-that-is-used-by-a-single-html-dialog<p>We have a huge Html Dialog that uses around 80 MB memory per session on the engine side. The dialog is like a wrapper for the full application. It contains multiple tabs and modal dialogs <code>&lt;p:dialog /&gt;</code>. </p> <p>Why is this Dialog consuming so much memory? Are there any best practices to build lightweight JSF dialogs?</p>SupportIvyTeamMon, 20 Nov 2017 07:54:54 -0500https://answers.axonivy.com/questions/2987/best-practices-to-reduce-the-memory-that-is-used-by-a-single-html-dialoghtmluserdialogjsfmemoryCan I reduce the session-views that are held in the engine memory?https://answers.axonivy.com/questions/2951/can-i-reduce-the-session-views-that-are-held-in-the-engine-memory<p>The Axon.ivy ivy Engine caches 20 JSF Dialog views per session. As I have a huge dialog with lots of sub-Dialogs this consuming a lot of memory on the Engine. Can I somehow reduce the amount of cached views?</p>SupportIvyTeamFri, 03 Nov 2017 04:49:22 -0400https://answers.axonivy.com/questions/2951/can-i-reduce-the-session-views-that-are-held-in-the-engine-memoryjsfsessionmemoryAfter uploading files we get an OutOfMemoryError: Java heap spacehttps://answers.axonivy.com/questions/1302/after-uploading-files-we-get-an-outofmemoryerror-java-heap-space<p>We use a the p:fileUpload widget form primefaces with an upload listener like this: </p><pre><code>&lt;p:fileUpload fileUploadListener="#{logic.uploadFile}</code></pre> In the listener method we copy the file content to an byte array on a data class to store it later. The script looks like this:<p></p> <pre><code>byte[] content = IOUtils.toByteArray(in.fileUploadEvent.getFile().getInputstream()); </code></pre> <p>But after uploading multiple files we get an OutOfMemoryError: Java heap space </p>SupportIvyTeamWed, 06 May 2015 09:27:30 -0400https://answers.axonivy.com/questions/1302/after-uploading-files-we-get-an-outofmemoryerror-java-heap-spacejsfmemory