Runtime on client may close unexpectedly if a large amount of archive data is received with little free memory on the client system

Runtime on client may close unexpectedly if a large amount of archive data is received with little free memory on the client system

Summary

When a runtime client requests a larger amount of archive data, e.g. for displaying a trend with many variables for a long time period from a base archive, the runtime on the client can close unexpectedly if there is insufficient free memory for decompressing the received archive data from the server.



Description

When a runtime client requests a larger amount of archive data, e.g. for displaying a trend with many variables for a long time period from a base archive, the runtime on the client can close unexpectedly if there is insufficient free memory for decompressing the received archive data from the server.



Solution

An issue has been addressed in the runtime where a client could close unexpectedly when a large amount of archive data was received from the server, and the client had not enough free memory.


Now if the data received cannot be processed on the client due to insufficient free memory, the archive data is discarded and will not be displayed in the runtime. An error message will be logged in the diagnosis server: "NET Error during uncompressing. Out of memory. Packet is lost."


Information

As a workaround the maximum amount of archive data that is sent from the server to a client can be limited by setting the zenon6.ini entry

[ARCHIV] SPEICHER=100000

This will limit the amount of memory to 100MB.

Also as a general recommendation, following archives should be configured. Data from the base archive should be displayed with a narrow time filter.



Issue Number: 29656
Fixed on Date: 29.5.2013
Versions: 7.00 0 BUILD 10 | 7.10 0 BUILD 6571