176
Views
7
Comments
Reason of System.OutOfMemoryException

Hello everyOne.

we are facing System.OutOfMemoryException , however reason of error is not clear to me.


Please support how to know/identify root cause of this issue.


2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

Hi,

Can you share the complete call stack?

A common error that could cause this is a server action that calls it self and never ends.

Are you experiencing this in DEV or production? 

In OutSystems cloud or OutSystems Onpremise.?

Did you make a recent change to the code?

Regards,

Daniel

UserImage.jpg
Mayank Gupta

We are facing it on OutSystems OnPremise (Dev environment) .


Please refer attached error Log.


Regards,

Mayank Gupta

ErrorLog (4).xlsx
2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

Hi Myank,

Thanks for sharing the extra info, do I conclude correctly you already get these exceptions on Login?

What is the User_Mapping_POC module supposed to do, did you make a recent change that could cause the error?

Regards,

Daniel

UserImage.jpg
Mansimar

Hi Daniel,

Mayank and I work together & I would like to highlight that when the Out of Memory error comes all the modules in OutsSystems Dev environment start giving this error or a generic error screen with error Too Many redirects comes,For User_Mapping_Poc is just a CRUD operation screen but the error is not specific to the module. 

To add further the server has adequate space and we don't know why this error is coming or 'too many redirects'

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

You could check the IIS for more information. Did you restart the servers and see if the problem stopped?

UserImage.jpg
Mansimar

Yes after restarting the server the problem resolves, but this has happened more than 5 times within 2 months & we are not able to find the root cause.

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

Seems like a serious memory leak. You need someone with a good understanding how your on-prem infrastructure is configured, knows his way around IIS, and has the knowledge to pinpoint the root cause.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.