Kong / Kong/insomnia

Excessive virtual RAM used?

Open
#5,608 1 comment 0 reactions 0 assignees View on GitHub
B-bug B-performance S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

Virtual memory should be of average size

### Actual Behavior

In HTOP I see a number of different insomnia processes running. Actual RAM usage seems low but the virtual memory seems odd.

![image](https://user-images.githubusercontent.com/22768040/210553168-d4b0a0e8-fd31-4469-9d3e-af1ea85d1bad.png)

Other electron apps such as VSCode use a lot more actual RAM but virtual is stated about 60Gb. Likewise other moderately resource hungry applications sit around 50Gb for virtual memory.

### Reproduction Steps

_No response_

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2022.7.0

### What operating system are you using?

Ubuntu

### Operating System Version

Linux M720q 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

### Installation method

deb from github

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file, test, or reproduction steps are named. Start by reproducing the report on Ubuntu 20.04 with Insomnia 2022.7.0 and inspect the multiple Insomnia processes in htop; done means determining whether the virtual-memory size is expected or identifying a reproducible excess-memory problem and its affected entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, linux, typescript
Domain
desktop, operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.