How can we help you today?

Why "OFSLog" shows the message “Not enough space”?

 

Issue

Why does OFSLog display the message "Not enough space" and why does OFS stop responding after running for some time?

Product Line

  • OPC Factory Server (OFS)

Environment

  • OFS V3.63
  • OFS V3.63 SP2

Resolution

In some situations, the memory consumption of the OFS process may continuously increase over time. When the available memory becomes insufficient, OFSLog may display the message "Not enough space", and OFS may stop operating correctly.

This behavior is caused bymemory fragmentation, which can have effects similar to a memory leak. The issue is related to the GarbageCollector feature, which is enabled by default in affected versions.

print screen

To deactivate the GarbageCollector:

  1. Stop the OFS service.
  2. Open the following file:
    C:\ProgramData\Schneider Electric\OFS\3.63.0.0\ofsinternal.xml
    
  3. Locate the following entry:
    <add value="true" key="GarbageCollector"/>
  4. Change it to:
    <add value="false" key="GarbageCollector"/>
  5. Save the file and restart OFS.

After the change, verify in the OFS log that the GarbageCollector is not active.

Applicable Conditions

  • Applies to OFS V3.63.
  • In OFS V3.63 SP2, the GarbageCollector is disabled by default.
 

Schneider Electric United Arab Emirates

Explore more

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Find support resources for all your needs, in one place.