polarnik commented on issue #6336:
URL: https://github.com/apache/jmeter/issues/6336#issuecomment-2656655921
I can not reproduce the crash, but I have found a bottleneck.
Steps:
1. Generate a long file:
```bash
dd if=/dev/urandom of=temp_1g_file bs=1g count=1
base64 -i ./temp_1g_file -o ./temp_1g_file.txt
```
3. Execute a JSR-223 script with a long response data:
```groovy
String fileContents = new
File('~/IdeaProjects/github.com/polarnik/temp_1GB_file.txt').getText('UTF-8')
SampleResult.setResponseData(fileContents)
```
2 iterations
4. Start a thread group for 2 iteration, go to View Result Tree
## Two configurations:
### first - default
corretto-17.0.13
-Dapple.eawt.quitStrategy=CLOSE_ALL_WINDOWS
-Dapple.laf.useScreenMenuBar=true
-Xss256k
-XX:MaxMetaspaceSize=256m
-Dfile.encoding=UTF-8
-Duser.country=US
-Duser.language=en
-Duser.variant
Default settings: Darklaf - Dracula
Memory allocation:
+4 GiByte after 2 iterations
-1 GiByte after using GC
+1 GiByte after opening a View Result Tree
Time:
- **Application freeze for 2 minutes**
Thread:
- AWT-EventQueue-0
- com.github.weisj.darklaf.ui.scrollpane.DarkScrollPaneUI$1.layoutContainer
()
-
com.github.weisj.darklaf.delegate.ScrollLayoutManagerDelegate.layoutContainer ()
- javax.swing.ScrollPaneLayout.layoutContainer ()
In two minutes we will see an active View Result Tree
<img width="1379" alt="Image"
src="https://github.com/user-attachments/assets/a1da66f6-34f1-4a14-bd22-b549c399d26a"
/>



### second - look and feel = System
corretto-17.0.13
-Dapple.eawt.quitStrategy=CLOSE_ALL_WINDOWS
-Dapple.laf.useScreenMenuBar=true
-Xss256k
-XX:MaxMetaspaceSize=256m
-Dfile.encoding=UTF-8
-Duser.country=US
-Duser.language=en
-Duser.variant
Default settings: System
Memory allocation — **the same**:
+4 GiByte after 2 iterations
-1 GiByte after using GC
+1 GiByte after opening a View Result Tree
Time:
- **0 time**

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]