-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't fail test by memory test
- Loading branch information
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
Memory usage (kb) from `ps` | ||
|
||
Ubuntu: | ||
----------------------------- | ||
Initial | After | Iterations | ||
----------------------------- | ||
2132 | 2232 | 1000 | ||
2128 | 2228 | 1000 | ||
2132 | 2216 | 1000 | ||
2132 | 2460 | 5000 | ||
2100 | 2600 | 5000 | ||
|
||
Arch: | ||
----------------------------- | ||
Initial | After | Iterations | ||
----------------------------- | ||
2148 | 2508 | 1000 | ||
2240 | 2316 | 1000 | ||
2240 | 2472 | 1000 | ||
2148 | 2680 | 5000 | ||
2240 | 2540 | 5000 | ||
|
||
Android: | ||
----------------------------- | ||
Initial | After | Iterations | ||
----------------------------- | ||
2640 | 2640 | 1000 | ||
2592 | 2680 | 5000 | ||
|
||
Github CI (Ubuntu): | ||
----------------------------- | ||
Initial | After | Iterations | ||
----------------------------- | ||
2360 | 4320 | 1000 | ||
2400 | 4384 | 10000 | ||
2468 | 4644 | 100000 | ||
2568 | 4260 | 500000 | ||
|
||
Repl.it: | ||
----------------------------- | ||
Initial | After | Iterations | ||
----------------------------- | ||
2924 | 4772 | 1000 | ||
2856 | 4724 | 10000 | ||
|
||
|
||
Not considering this as a critical memory leak, as the memory increment freezes at a certain point on every system. Still further investigation should be made. | ||
|
||
Here are some suspicious warnings from Valgrind, though if I remember correctly they're there in a previous version without this leaks. | ||
|
||
# Valgrind: | ||
- Use of uninitialised value of size 8 | ||
- Conditional jump or move depends on uninitialised value(s) | ||
- Uninitialised value was created by a stack allocation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters