We tried to read the attribute 3 of the 1.0 . 99.2.0 . 0 . 255 of Class7 , which contains a large amount of data , which is then written through this method "public void Write(GXDLMSObject it, int attributeIndex)". The readout is successful, but the OutOfMemoryException is reported when written.
In addition, we don ' t know how to modify this data and then write again , or to generate a large data by our self ( we don ' t know exactly what class of data should be generated ) written to this attribute , please tell us what method we can do, thank you very much.
First, our requirement is to change the value of this property. We first try to write it using XML, but we receive a report OutOfMemoryException. Then we try to read out and write the same value again and still receive the report OutOfMemoryException.
We found that whenever a large amount of data was written, it seemed to receive this error report, whether read and write to the same value, or write in the way of XML.
Are you using XmlClient? Can you send this xml data to me by email? We can check this. You can find my contact info from here: https://www.gurux.fi/AboutUs
This capture_objects has
<- 2017-12-23 14:53:33.637 7E A0 19 03 03 32 EC C8 E6 E6 00 C0 01 C1 00 07 01 00 63 02 00 FF 03 00 40 8D 7E
-> 2017-12-23 14:53:34.127 7E A1 42 03 03 52 AD B5 E6 E7 00 C4 02 C1 00 00 00 00 01 00 82 01 2A 01 24 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 02 04 12 00 01 09 06 00 00 60 0A 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 01 FF 0F 02 12 00 00......
<- 2017-12-23 14:53:34.130 7E A0 13 03 03 54 72 12 E6 E6 00 C0 02 C1 00 00 00 01 51 BE 7E
-> 2017-12-23 14:53:34.599 7E A1 42 03 03 74 99 F1 E6 E7 00 C4 02 C1 00 00 00 00 02 00 82 01 2A 00 04 08 03 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 04 08 04 FF 0F 02 12 00 00......
<- 2017-12-23 14:53:34.603 7E A0 13 03 03 76 62 10 E6 E6 00 C0 02 C1 00 00 00 02 CA 8C 7E
-> 2017-12-23 14:53:34.759 7E A0 4C 03 03 96 83 90 E6 E7 00 C4 02 C1 01 00 00 00 03 00 36 02 04 12 00 03 09 06 01 00 08 08 04 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 0F 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 0F 08 02 FF 0F 02 12 00 00 F1 76 7E
<- 2017-12-23 14:53:34.774 7E A9 3E 03 03 98 AA 4B E6 E6 00 C1 02 C1 00 07 01 00 63 02 00 FF 03 00 00 00 00 00 01 82 01 2B 01 24 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 ......
This place report an OutOfMemoryException.
Attempt to write a large amount of data failed
Hi,
Why do you want to write it back?
BR,
Mikko
Hi,
Hi,
Thank you for your reply.
First, our requirement is to change the value of this property. We first try to write it using XML, but we receive a report OutOfMemoryException. Then we try to read out and write the same value again and still receive the report OutOfMemoryException.
We found that whenever a large amount of data was written, it seemed to receive this error report, whether read and write to the same value, or write in the way of XML.
Attempt to write a large amount of data failed
Hi,
Are you using XmlClient? Can you send this xml data to me by email? We can check this. You can find my contact info from here:
https://www.gurux.fi/AboutUs
BR,
Mikko