graphql-ide icon indicating copy to clipboard operation
graphql-ide copied to clipboard

The history of queries seems to slow down the app

Open geotry opened this issue 8 years ago • 1 comments

Hi, first of all thank you for your amazing work!

I noticed that the history of queries doesn't seem to have a limit (or a high one). The state.json file that stores the state of the app is currently ~8mb in my case, and the last time I opened the app it took around 1gb of my memory - which is a lot!

Is is possible to put a reasonable limit to the history (I think that less than 100 is good), or even better make it configurable?

FYI, I'm on Windows 10 and using the latest version (1.1)

geotry avatar Jan 12 '17 17:01 geotry

@Schunk Hi, thanks for pointing out! Will certainly look to improve this experience by maintaining a low memory profile. For now you can clear the history by right clicking the list, not convenient, i know. Will be up for next release.

andevsoftware avatar Feb 06 '17 16:02 andevsoftware