Open chaseWillden opened 7 years ago
The following code does not increase memory:
for (int i = 0; i < 100; i++) var a = 10;
The memory is under control, meaning, the garbage collector is cleaning this properly. However, when I run the following code:
for (int i = 0; i < 100; i++) var a = 10 + 10;
The memory nearly doubles. The garbage collection is not occurring here. Here is a starting place
To replicate the issue:
The following code does not increase memory:
The memory is under control, meaning, the garbage collector is cleaning this properly. However, when I run the following code:
The memory nearly doubles. The garbage collection is not occurring here. Here is a starting place
To replicate the issue: