WARNING - RequestStatistics: Request state size of 387 objects exceeds the threshold of 100 objects.

0
HI Team, We recently did migration of Mendix 6.7.1 to 7.4.0 and facing below problem post upgrade. Problem statement: We are displaying few values on screen via non persistent entities.it was working fine in 6.7.1 and now we dont see any value on screen and no error in log as well. We only get below warning in log: 2020-05-12 12:16:01.287 WARNING - RequestStatistics: Request state size of 387 objects exceeds the threshold of 100 objects. Request details: type 'executeaction' in session '16cc8d55-d1e0-492a-bb65-31528382e7ce'. State consists of:  * CFT.TempCountry (NPE): 84 objects  * CFT.TempExchange (NPE): 175 objects  * CFT.TempHeader1 (NPE): 5 objects  * CFT.TempHeader2 (NPE): 18 objects  * CFT.TempMarketHighLevel (NPE): 78 objects  * CFT.TempRegion (NPE): 27 objects I also tried adding the key and value in microflow constant and restarted the server but no luck so far. Request your advise on the same. Regards, Swathi
asked
3 answers
2

See the documentation here: https://docs.mendix.com/refguide/transient-objects-garbage-collecting#4-1-observing-state-growth-by-session

Look at this part: 4.2 Detecting Requests with Large State

Regards,

Ronald

 

answered
1

The Above warning is related to number of objects Shown per page . it can be more , but Ideally it should be 100 to follow best Practice. This is not an issue . 

I also have this warning in project as am exceeding 100 objects per page, but my application is working fine.

Can you explain more about , what you are doing to display non persistent data?

answered
0
var num = -10;
while (num < 20) {
    console.log (num);
    num ++;
}

 

answered