Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.9k stars 1.98k forks source link

The memory leak issue is still present in version 9.3.3 #7826

Open yaroslavolekh opened 3 months ago

yaroslavolekh commented 3 months ago

Expected Behavior

I assume that this application should not take up so much memory at startup.

Actual Behavior

At the moment, the application eats up more than 4Gb of RAM when starting Monosnap Activity Monitor 2024-08-11 22-48-28

Reproduction Steps

You need just to start your app on mac

Is there an existing issue for this?

Additional Information

Monosnap Monosnap 2024-08-11 22-53-01

Insomnia Version

9.3.3

What operating system are you using?

macOS

Operating System Version

14.6.1 (23G93)

Installation method

download from insomnia

Last Known Working Insomnia version

2023.2.0

yaroslavolekh commented 3 months ago

v2023.2.0 is OK. How can i turn off auto update after computer restart?

subnetmarco commented 3 months ago

@CurryYangxx Is there any follow up question you may want to ask to identify the root cause of this issue? I see my local version of Insomnia taking 132MB of memory, so this issue doesn't happen on my computer:

Screenshot 2024-08-11 at 7 22 07 PM

@yaroslavolekh is the memory increase constant, or did you notice it spiking up after doing some specific operations on the application (like loading a document, a collection, etc) ?

CurryYangxx commented 2 months ago

Hi @yaroslavolekh. Could you please provide more detailed information? Do you have a large number of collections? Or does the memory usage increase after a certain operation? Also If possible, you can enter Insomnia in the search box to filter out related processes in both Memory and CPU tab to help us locate the problem.

image
CurryYangxx commented 1 month ago

Hi @yaroslavolekh, we found a high CPU and memory consumption when using git sync and with a large number of folders. Are you under the same condition when you found this issue?

notjaywu commented 1 month ago

Similar issue #8020