{"id":7479,"date":"2015-09-08T16:18:30","date_gmt":"2015-09-08T23:18:30","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=7479"},"modified":"2020-08-27T16:28:21","modified_gmt":"2020-08-27T23:28:21","slug":"how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/","title":{"rendered":"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError"},"content":{"rendered":"

Applies to:\u00a0<\/strong>Ephesoft Transact 3.1.2.0 and above<\/span><\/p>\n

How do I set Tomcat to automatically create a heap dump after an OutOfMemoryError?<\/span><\/p>\n

Instructions<\/strong><\/span><\/h2>\n
    \n
  1. Navigate to [Ephesoft_Directory]<\/em>\/JavaAppServer\/bin.<\/span><\/li>\n<\/ol>\n

    \"\"<\/a><\/span><\/p>\n

    Figure 1. JavaAppServer\\bin Folder<\/em><\/span><\/p>\n

      \n
    1. Open EphesoftTransact.exe\u00a0<\/strong>(in older versions, this may be named\u00a0EphesoftEnterprise.exe<\/strong>).<\/span><\/li>\n
    2. Click the Java<\/strong> tab and add the following strings to the Java Options<\/strong>:<\/span><\/li>\n<\/ol>\n
      -XX:+HeapDumpOnOutOfMemoryError\r\n<\/span>-XX:HeapDumpPath=c:\\<path to heap dump folder><\/strong><\/em><\/span><\/pre>\n

      Set the\u00a0<path to heap dump folder>\u00a0<\/strong><\/em>to the full path location. For example, if you create a HeapDump folder under C:\\Ephesoft, use the following:<\/span><\/p>\n

      -XX:+HeapDumpOnOutOfMemoryError<\/span>\r\n-XX:HeapDumpPath=c:\\Ephesoft\\HeapDump<\/strong><\/span><\/pre>\n

      \"\"<\/a><\/span><\/p>\n

      Figure 2. Ephesoft Transact Properties<\/em><\/span><\/p>\n

        \n
      1. Restart Ephesoft Transact.<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

        Applies to:\u00a0Ephesoft Transact 3.1.2.0 and above How do I set Tomcat to automatically create a heap dump after an OutOfMemoryError? […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[12343],"tags":[361,727],"yoast_head":"\nHow to Set Tomcat to Create a Heap Dump After an OutOfMemoryError | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError\" \/>\n<meta property=\"og:description\" content=\"Applies to:\u00a0Ephesoft Transact 3.1.2.0 and above How do I set Tomcat to automatically create a heap dump after an OutOfMemoryError? […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-08T23:18:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-27T23:28:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2015\/09\/2020-08-19_13-56-45.png\" \/>\n<meta name=\"author\" content=\"lydiaxie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"lydiaxie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/\",\"name\":\"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2015-09-08T23:18:30+00:00\",\"dateModified\":\"2020-08-27T23:28:21+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\",\"name\":\"lydiaxie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"caption\":\"lydiaxie\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError","og_description":"Applies to:\u00a0Ephesoft Transact 3.1.2.0 and above How do I set Tomcat to automatically create a heap dump after an OutOfMemoryError? […]","og_url":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/","og_site_name":"Ephesoft Docs","article_published_time":"2015-09-08T23:18:30+00:00","article_modified_time":"2020-08-27T23:28:21+00:00","og_image":[{"url":"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2015\/09\/2020-08-19_13-56-45.png"}],"author":"lydiaxie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"lydiaxie","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/","url":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/","name":"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2015-09-08T23:18:30+00:00","dateModified":"2020-08-27T23:28:21+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/how-to-automatically-set-tomcat-to-create-a-heap-dump-after-an-outofmemoryerror\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"How to Set Tomcat to Create a Heap Dump After an OutOfMemoryError"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1","name":"lydiaxie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","caption":"lydiaxie"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/7479"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=7479"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/7479\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=7479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=7479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=7479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}