E9.05: Client error about being out of memory

It sounds like you probably have a memory leak somewhere in a customization.

 

On a couple computers that are having issues have them run Epicor with the /memory command to get the tool running. When they get the warning come take a look at the tool and watch for “disposed” forms that are still hanging around. Nick Fuller posted some instructions on this a few weeks ago.

 

 

Tom Christie |  Information Technology Manager  |  AGM Container Controls, Inc.  |   tchristie@...  | t: 520.881.2130 ext 2176

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Joe Rojas
Sent: Tuesday, November 12, 2013 1:47 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E9.05: Client error about being out of memory

 

 

Hi All,

Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.

Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]

Hi All,



Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.



Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.








Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


[Non-text portions of this message have been removed]
Hi,
We are on 9.5.700b and experience out of memory issues. Our biggest problem was caused by crystal reports with large graphics. Once this was resolved our out of memory issues decreased. Also, make sure users do not have lots of applications open.

[Users:PUBLIC:Advertising:LOGO TYPES:VECTOR LOGO ADS.ai]

Terrance Hall | Techincal Support Supervisor




Thall@...<mailto:jboll@...> | [P] 563.583.7311, Ext. 5247 [F] 800.832.9296
More than a brand. We're a family.

CONFIDENTIALITY NOTICE:
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Joe Rojas
Sent: Tuesday, November 12, 2013 2:47 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E9.05: Client error about being out of memory



Hi All,

Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.

Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]

From EPICOR.

 

Summary: Why am I getting a message that says that I have limited UI Resources Remaining?
Book: Support Solutions
Page: 12966MPS

PAGE: 12966MPS

QUESTION:
Why am I getting a message that says that I have limited UI Resources Remaining?

ANSWER:
This is a new message that was implemented starting with 9.05.604. The client application will present this message when it detects that the number of available Windows handles (objects) is approaching its limit. This is a Windows limit not an Epicor 9 limitation based on physical RAM installed on the workstation - if users receive this message on frequent basis then those users would likely benefit from having additional RAM installed on their workstations.

It will prompt you if you would like to increase the UI resource limit and tell you Administrator right are required. If you click yes, then the client application will attempt to implement the changes outlined in this Microsoft KBase article: http://support.microsoft.com/kb/327699. If you click No, then you need to consider closing other forms like the message suggests or other non-Epicor programs that are running.

For more information see the MS article mentioned previously and Epicor KBase article 11895MPS.

ADDITIONAL INFORMATION:
This message was incorporated to notify the user that this could be an issue if the limit isn't increased instead of a generic error message when the limit is reached which is what would happened in versions prior to 9.05.604. Please note that although this message is originating from within Epicor, it doesn't necessarily mean that Epicor processes are the consuming the majority of the handles.

FULL MESSAGE TEXT:
You are approaching the UI resource limit. Consider closing other forms that you don't need open.
Would you like to increase the UI resource limit? Administrator rights are required.

VERSIONS:
9.05.604+

KEYWORDS:
UI resource limit
=====================================

PROBLEM DESCRIPTION:
Occasionally my users receive the following error message:

************** Exception Text **************

System.ComponentModel.Win32Exception: Not enough storage is available to process this command

What does this error mean and how can I address?

PROBLEM RESOLUTION:
This means that the user's Epicor process on the workstation is trying to use more GDI objects/handles than the max allowed/available by Windows which causes a resource heap shortage. In short, demand for resources on the workstation exceed supply (in this case handles).

POTENTIAL RESOLUTION:
Suggest to your users that when they see the following message (which should proceed the above error message) that they choose yes to increasing the UI resource limit.

You are approaching the UI resource limit. Consider closing other forms that you don't need open.
Would you like to increase the UI resource limit? Administrator rights are required.

If you click yes, then the client application will attempt to implement the changes outlined in this Microsoft KBase article: http://support.microsoft.com/kb/327699. If you click No, then you need to consider closing other forms like the message suggests or other non-Epicor programs that are running.

For more information see the MS article mentioned previously and Epicor KBase article 11895MPS.

VERSIONS:
9.05

===================================

PAGE: 13084MPS

PROBLEM DESCRIPTION:
I am getting a lot of OutOfMemoryException() errors with I print reports, run large processes within Epicor or try to copy a large amount of data from a BAQ. My workstation has 8GB of RAM so how I can be out of memory?

PROBLEM RESOLUTION:
If you are getting out of memory errors within Epicor:
The Epicor client uses 32bit .NET and because of that the maximum theoretical amount of RAM that it can use is 2^31bytes (2.4GB) but in practice it is closer to 2GB because of .NET overhead. If you get this error message and if Windows is reporting that you have available RAM, you will need to reduce the demand for RAM that the Epicor client has access to by closing unused Epicor windows/modules. In Epicor905 there is a 64bit version of the client that doesn't have this 2GB limitation however at this time (9.05.700c), there isn't a native 64bit Crystal Reports runtime so you wouldn't be able to print from Epicor when the 64bit client is used. To use the 64bit Epicor client, change your Epicor shortcut to point to the mfgsys64.exe file instead of the mfgsys.exe.

Basically, demand for resources exceeds resources; in order to prevent an error like this, either demand would need to decrease (close screens that aren't needed; redesign your UI customization to pull in less data) or supply needs to increase (add more RAM to the workstation).

These errors can occur when a form has a UI customization. If this form does, go into developer mode to see if the issue still occurs; if not, you would want to work with the person who created the customization to decrease the memory footprint of the customization. There is a switch that you can add to the Epicor shortcut that will allow you to monitor the memory usage within Epicor (add /memory at the end of the target line - see knowledge base 14695MPS for more details). You should compare base mode vs your customization to determine the impact of your UI customization on memory usage. If you memory cache forms (see knowledge base 9669ESC for more details), RAM usage will be higher so if the OutofMemoryException occurs frequently you can disable memory caching and it should help reduce RAM consumption when a certain module is used.

If you are getting out of memory errors when printing a report:
The Crystal Report runtime has the same characteristics as the Epicor client so if you are trying to print a massive report until there is a 64bit version of the runtime (which is available as of 9.05.701) you will need to reduce the amount of data in the report or use the Epicor SSRS version of this report if you are a 9.05.60x customer. If this is a custom report with embedded images, to test, remove the image and see if you get the same error message - if you don't, you should reduce the resolution of the image that is being embedded.

VERSIONS:
8.03
9.04
9.05

 

 

Miguel A. Santillan

Compass Manufacturing Systems

510-661-6666  Office

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Joe Rojas
Sent: Tuesday, November 12, 2013 12:47 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E9.05: Client error about being out of memory

 

 

Hi All,

Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.

Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]

There is a known bug with 702.A.  Call Epicor and have them add you to SCR 121033.  I think there were 13 other users when we were added last month.



John 



---In vantage@yahoogroups.com, <msantillan@...> wrote:

From EPICOR.

 

Summary: Why am I getting a message that says that I have limited UI Resources Remaining?
Book: Support Solutions
Page: 12966MPS

PAGE: 12966MPS

QUESTION:
Why am I getting a message that says that I have limited UI Resources Remaining?

ANSWER:
This is a new message that was implemented starting with 9.05.604. The client application will present this message when it detects that the number of available Windows handles (objects) is approaching its limit. This is a Windows limit not an Epicor 9 limitation based on physical RAM installed on the workstation - if users receive this message on frequent basis then those users would likely benefit from having additional RAM installed on their workstations.

It will prompt you if you would like to increase the UI resource limit and tell you Administrator right are required. If you click yes, then the client application will attempt to implement the changes outlined in this Microsoft KBase article: http://support.microsoft.com/kb/327699. If you click No, then you need to consider closing other forms like the message suggests or other non-Epicor programs that are running.

For more information see the MS article mentioned previously and Epicor KBase article 11895MPS.

ADDITIONAL INFORMATION:
This message was incorporated to notify the user that this could be an issue if the limit isn't increased instead of a generic error message when the limit is reached which is what would happened in versions prior to 9.05.604. Please note that although this message is originating from within Epicor, it doesn't necessarily mean that Epicor processes are the consuming the majority of the handles.

FULL MESSAGE TEXT:
You are approaching the UI resource limit. Consider closing other forms that you don't need open.
Would you like to increase the UI resource limit? Administrator rights are required.

VERSIONS:
9.05.604+

KEYWORDS:
UI resource limit
=====================================

PROBLEM DESCRIPTION:
Occasionally my users receive the following error message:

************** Exception Text **************

System.ComponentModel.Win32Exception: Not enough storage is available to process this command

What does this error mean and how can I address?

PROBLEM RESOLUTION:
This means that the user's Epicor process on the workstation is trying to use more GDI objects/handles than the max allowed/available by Windows which causes a resource heap shortage. In short, demand for resources on the workstation exceed supply (in this case handles).

POTENTIAL RESOLUTION:
Suggest to your users that when they see the following message (which should proceed the above error message) that they choose yes to increasing the UI resource limit.

You are approaching the UI resource limit. Consider closing other forms that you don't need open.
Would you like to increase the UI resource limit? Administrator rights are required.

If you click yes, then the client application will attempt to implement the changes outlined in this Microsoft KBase article: http://support.microsoft.com/kb/327699. If you click No, then you need to consider closing other forms like the message suggests or other non-Epicor programs that are running.

For more information see the MS article mentioned previously and Epicor KBase article 11895MPS.

VERSIONS:
9.05

===================================

PAGE: 13084MPS

PROBLEM DESCRIPTION:
I am getting a lot of OutOfMemoryException() errors with I print reports, run large processes within Epicor or try to copy a large amount of data from a BAQ. My workstation has 8GB of RAM so how I can be out of memory?

PROBLEM RESOLUTION:
If you are getting out of memory errors within Epicor:
The Epicor client uses 32bit .NET and because of that the maximum theoretical amount of RAM that it can use is 2^31bytes (2.4GB) but in practice it is closer to 2GB because of .NET overhead. If you get this error message and if Windows is reporting that you have available RAM, you will need to reduce the demand for RAM that the Epicor client has access to by closing unused Epicor windows/modules. In Epicor905 there is a 64bit version of the client that doesn't have this 2GB limitation however at this time (9.05.700c), there isn't a native 64bit Crystal Reports runtime so you wouldn't be able to print from Epicor when the 64bit client is used. To use the 64bit Epicor client, change your Epicor shortcut to point to the mfgsys64.exe file instead of the mfgsys.exe.

Basically, demand for resources exceeds resources; in order to prevent an error like this, either demand would need to decrease (close screens that aren't needed; redesign your UI customization to pull in less data) or supply needs to increase (add more RAM to the workstation).

These errors can occur when a form has a UI customization. If this form does, go into developer mode to see if the issue still occurs; if not, you would want to work with the person who created the customization to decrease the memory footprint of the customization. There is a switch that you can add to the Epicor shortcut that will allow you to monitor the memory usage within Epicor (add /memory at the end of the target line - see knowledge base 14695MPS for more details). You should compare base mode vs your customization to determine the impact of your UI customization on memory usage. If you memory cache forms (see knowledge base 9669ESC for more details), RAM usage will be higher so if the OutofMemoryException occurs frequently you can disable memory caching and it should help reduce RAM consumption when a certain module is used.

If you are getting out of memory errors when printing a report:
The Crystal Report runtime has the same characteristics as the Epicor client so if you are trying to print a massive report until there is a 64bit version of the runtime (which is available as of 9.05.701) you will need to reduce the amount of data in the report or use the Epicor SSRS version of this report if you are a 9.05.60x customer. If this is a custom report with embedded images, to test, remove the image and see if you get the same error message - if you don't, you should reduce the resolution of the image that is being embedded.

VERSIONS:
8.03
9.04
9.05

 

 

Miguel A. Santillan

Compass Manufacturing Systems

510-661-6666  Office

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Joe Rojas
Sent: Tuesday, November 12, 2013 12:47 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E9.05: Client error about being out of memory

 

 

Hi All,

Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.

Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]

Try editing this registry, it worked for me.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota

Set the value to 18000.. You may have to change to hex value... Should be set to 10000 at the moment.

If it dont work after a reboot... Set it back again.

On 12 Nov 2013, at 20:47, "Joe Rojas" <jrojas@...> wrote:

 

<div id="ygrps-yiv-961319557ygrp-text">
  
  
  <p>Hi All,<br>

Since upgrading from 9.04 to 9.05.702, users have been reporting an
issue where they will get the message about reaching the limit on open
objects.

We got the article from Epicor that explains how we can increase this
limit and in some cases, users have admin access so that could just
click ok to increase it themselves.

However, even after this limit is increase, user are will complaining
that they get an error that the system is completely out of memory and
then it just shuts down on them.

Is anyone else experiencing this? Is there a way to address this?

In most cases, the users are consuming all their RAM.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]

</div>