Forum > Debugger

Chasing memory leaks: strange thing

(1/1)

andresayang:
Hello,

When debugging, It seems that I have some leaks ...
(Under linux)
- When running from terminal I have memory leaks
- When running from IDE, with "console output" I do not have leaks.

I do not understand ...

Cheers 

Zvoni:

--- Quote from: andresayang on July 01, 2022, 08:39:17 am ---I do not understand ...
Cheers

--- End quote ---
Me neither, since i don't see your screen with the Code

andresayang:
Well,

Sorry for my first message, to tired this morning to see it after a "night on shift" at work:
My trouble has nothing to do with memory leaks (event if the message shows it).

All is coming from shell which is interpreting "wildcard" in my parameter string, having the effect of launching my app with hundreds of files in input instead of the wildcard itself, using Apostrophe or quotation marks in my parameter string solve my trouble.


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---set -o noglob && ./myapp  -i ./test/*.txt -s -o ./tested.csv && set +o noglob also works ...

Cheers

Navigation

[0] Message Index

Go to full version