You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/05/19 18:21:26 UTC

[Bug 64455] New: Getting OutOfMemory Error while trying generate HTML report

https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

            Bug ID: 64455
           Summary: Getting OutOfMemory Error while trying generate HTML
                    report
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: helen77.ca@gmail.com
  Target Milestone: JMETER_5.3.0

I have JMeter script with SOAP API requests, which are placing a purchasing
order. There are no issues during order creation time, but when all requests
are finished and JMeter is trying to generate report I am getting an error:
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid8676.hprof ...
Heap dump file created [7011161840 bytes in 93.212 secs]
Uncaught Exception java.lang.OutOfMemoryError: Java heap space in thread
Thread[StandardJMeterEngine,5,main]. See log file for details.
I used JConsole to monitor JMeter during execution and noticed that heap mostly
was at 25% during test run and went up to 100% during report generation.
Parameter in batch file set HEAP=-Xms1024m -Xmx7168m
Thanks in advance

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEEDINFO                    |RESOLVED

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Issue was due to Test plan using an index for each request leading to thousands
to hundred of thousands different transactions names.

As this is not the expected use of JMeter, closing this issue as WONTFIX.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

--- Comment #6 from Iliya Iliev <il...@gmail.com> ---
Hey Felix,

I did not change any heap settings.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
Thanks Iliya for the jtl file. I ran it on my local machine and it didn't crash
with OOM. Did you specify any heap settings on your runs?

@Helen, did your crash happen when creating a report (after a test run), or
while running the test plan?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iliya.iliev88@gmail.com

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 64475 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

--- Comment #4 from Iliya Iliev <il...@gmail.com> ---
When I am running the script in cli the desired 'report' folder passed as
argument is completely empty.

The generated .jtl file is around 2gb.
I will be happy to help you out investigating the issue with providing you the
.jtl file.
How could it be achieved?

Regards,
Iliya

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

--- Comment #3 from Iliya Iliev <il...@gmail.com> ---
(In reply to Felix Schumacher from comment #2)
> *** Bug 64475 has been marked as a duplicate of this bug. ***

Hello Felix,

I've tried to generate an HTML report. I'm using v 5.3
The following message was thrown:

*Generating report
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields
(file:/C:/apache-jmeter-5.3/apache-jmeter-5.3/lib/xstream-1.4.11.1.jar) to
field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of
com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release*

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.3.0                |JMETER_5.3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64455] Getting OutOfMemory Error while trying generate HTML report

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64455

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Thank you for the report.
Can you share your CSV file, user.properties and the generated hprof file ?
Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.