Open phschoen opened 6 years ago
was also reproduceable in 3.4
Hi,
is the GUI connected to trex during all this period? Or there is only GUI window open and nothing else?
gui is opened and connected to a remote server which is not sending something. however some ports are reserved (2 out of 8). I will try if its also happening if no server is connected.
actually its even growing just by opening the trex gui and leave it running. Also each click in a drop down menu is increasing the memory e.g. opening and closing the help dropdown is increasing the memory by 40k each time
@phschoen, thanks for the update I'll take a look into it.
any updates?
Hi,
regarding menubar memory leak, I've checked on very lightweight jfx app on Java 8 (which we are using), and the same leak is reproduced, I've just selected dropdown and hold right arrow, and memory started to grow. So this issue is related to jfx itself, maybe in future if we will migrate to newer java and javafx it will be resolved (if newer javafx doesn't have this issue).
regrading main memory leak seems that I've found an error (looks like it related to logs, because once I've disabled logging for some classes who spam to logs and connected to trex memory is stalled around 257 MiB.
Please let me know your platforms (linux/windows/mac) and I'll prepare a build for your so you can check on your scenario.
Thanks, Egor.
HI, @phschoen
Please check latest v4.5.5. Once I've validated it was around 305-307 maximal after 30-40 minutes.
hi, i tested the v4.5.5 on Ubuntu Linux and used java 8.211:
$java -version
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
memory seems fine but cpu usage still goes over the roof and slows the pc down after some time (1 core with ~95% use no mater what).
Please, let me know latest scenario, how did you test it, and how long?
ср, 15 мая 2019 г., 23:50 Philipp Schönberger notifications@github.com:
hi, i tested the v4.5.5 on Ubuntu Linux and used java 8.211:
$java -version java version "1.8.0_211" Java(TM) SE Runtime Environment (build 1.8.0_211-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
memory seems fine but cpu usage still goes over the roof and slows the pc down after some time (1 core with ~95% use no mater what).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cisco-system-traffic-generator/trex-stateless-gui/issues/101?email_source=notifications&email_token=AINDXDI57TTXJWP7LKX3KITPVQ5MZA5CNFSM4GFDRAR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPIQCQ#issuecomment-492734474, or mute the thread https://github.com/notifications/unsubscribe-auth/AINDXDMO2ESB44IC464NQQDPVQ5MZANCNFSM4GFDRARQ .
i created a small script to plot it over time and gather some infos i started trex and created two simple ip/udp traffic with minimal pps and started it and let this running for some time.
I usually leave the gui running and after some time (5h+) the gui gets unusable and slows down the whole system. here is a ps dump after 2 days letting it running without any traffic generation: