-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Strange memory leaks #3171
Copy link
Copy link
Closed
Labels
consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.
Metadata
Metadata
Assignees
Labels
consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm using NodeJS 4.1.1, 64-bit on Windows 10.
In my simple application I'm calculating a sequence of primes and writing them into the console.
Here's the entire application:
However, when running it, the application starts eating up memory quite fast. I don't understand why, since I am making no memory allocation of any kind, it is just a plain calculation algorithm without any complexity.
After running it for about 5 mins, the app crashes as shown below, before it even gets to calculate the first 100m primes.