SUMMARY I have a csv with weather data. 141601 lines, 18 columns, 20MB. I can't import it with "import data" (see my other bug report), and when trying to open the data in libreoffice, copying it and pasting it into labplot, all the memory is being filled (15GB), until labplot crashes. STEPS TO REPRODUCE 1. start labplot 2. create table 3. copy and paste data from libreoffice OBSERVED RESULT massive memory usage and final crash (no error report). EXPECTED RESULT should be able to import the data SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Thank you for reporting this issue! I did a small fix now to reduce the peak memory consumption and also not to crash when running out of memory. We'll bring the fix into the next patch release of 2.10. More optimizations are possible here, we'll track these activities in https://invent.kde.org/education/labplot/-/issues/549. My test data was a bit bigger than in your example (150k rows and 20 columns) and the peak memory consumption was at 514MB. If labplot is crashing with your data, it means the memory consumption on your system is already very high or you're working maybe with a lot of text data. The file import is more efficient. So, ideally we address the other bug ticket that you raised. Please check my reply there.