Telegram_2020-09-22T16

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 09 > 22 >

Telegram_2020-09-22T16

Telegram link

 

2020-09-22T16:12:21

 

\Out of memory\ errors almost never have any relation to the memory consumption. 99.9999% of the times it is caused by buggy code which tries to allocate a huge block of memory which is not available. For instance:

 

SetLength(OneArray, ArrayLength);

 

in case ArrayLength variable points to a random part of the memory, not initialized, it is very likely that it will raise an Out of Memory exception.

 


 

Telegram link

 

2020-09-22T16:51:37

 

Yeah, I knew it couldn't be related To memory consumption.. it seems To be an issue with Uses declaration..

 


 

Telegram link

 

2020-09-22T16:54:33

 

Make sure to only access your session via the function provided in the ServerController