Page 1 of 1

5.31 x64 - IDE: Session history + IDE slowdown

Posted: Fri Apr 17, 2015 11:03 am
by Inf0Byt3
1. On a new installation of PureBasic 5.31, if the 'Enable recording of history' checkbox is disabled in settings then OK is pressed, the IDE will lock up and not respond to input (CPU usage increased as well). The settings dialog will not close anymore.

2. After compiling a big project (~20k lines) for more than 30 - 50 times, the IDE gets slower and slower, eventually it barely responds to input and the compilation slows down by a factor of 2. Disabling session history or restarting the compiler doesn't help. The only thing that helps is restarting the IDE.

[Edit]
I think I found a way to reproduce the slowdown:
- A project with a high number of sources (25 files used here) needs to be loaded (just the project tab needs to be open, it's not necessary to actually open the source files in the IDE).
- Click on the first file in the "Project Files" listicon.
- Keep the Down arrow on the keyboard to automatically scroll through each line to the bottom then do the same thing with the Up key
- Repeat until the IDE will slow down (takes ~5 repeats here)
- Seems that the memory usage increases, there seems to be a leak somewhere

OS: Debian Wheezy, x64.

Re: 5.31 x64 - IDE: Session history + IDE slowdown

Posted: Wed Feb 19, 2025 4:04 pm
by Fred
Seems to work here, can anybody confirm ?