Invalid parameter passed to C runtime function
-
@Lasith
Yes it can give a good hint. Start app and see how much it uses.there is also
https://docs.microsoft.com/en-us/sysinternals/downloads/rammap -
Does error comes as soon as you start the app or
does it take some time? -
@Lasith said in Invalid parameter passed to C runtime function:
@mrjj The error oocurs when I click a button which feeds a set of values to a QStringList through 2 for loops!
And you're sure those 2 loops aren't actually unlimited? ;-) Better look at how many iterations they do :) You do have to do really quite a lot of iterations to run out of memory!
-
@Lasith said in Invalid parameter passed to C runtime function:
@JNBarchan No the upper limits of the conditions is finite!
This is good to know. But there are finite numbers and then there are other finite numbers. Numbers like, say, 0x7FFFFFFF (2 billion?) as the limit in each loop (I'm understanding they are nested?) will cause a lot of iterations... ;-)