Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. L+G E650 System.OutOfMemoryException

L+G E650 System.OutOfMemoryException

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By kamil , 9 May, 2017
Forums
DLMSDirector

Hello,

we were reading data from L+G E650 while we stopped readout without closing connection and after that we are not able to establish new connection (using serial port). After trying to establish connection we get System.OutOfMemoryException . Is there anything we can do in this matter? Basically SNRM request is sent, next UA reply and next after request a very strange frame is transmitted having a lot of "01 0D". The log is as follows:

12:50:35 Initializing serial connection.
12:50:40 Send SNRM request.
7E A0 12 03 21 93 F9 AC 81 80 06 05 01 3E 06 01 80 AB A3 7E
12:50:51 Received data
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
12:50:51 Parsing UA reply.<CR><LF>81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01
12:50:51 Parsing UA reply succeeded.
12:50:51
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 5C 03 20 FF FF A2 6A 7E
12:51:03 Received data
7E A8 4B 21 03 30 3D EB E6 E7 00 0C 81 95 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 01 0D 05 BF 7E
System.OutOfMemoryException: Za mało pamięci, aby kontynuować wykonywanie tego programu.
w GXDLMSDirector.GXDLMSDevice.InitializeConnection()
w GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters)

Best regards,

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

L+G E650 System.OutOfMemoryException

Hi,

We have received other reports that L+G E650 will behave like this if Disconnect method is not called.
What I have heard that if you try again meter will behave correctly.

Remember to call Disconnect method!

BR,
Mikko

kamil

9 years 1 month ago

L+G E650 System.OutOfMemoryException

Thank you very much for quick response. At the moment we are not able to connect but maybe there is a problem with module parametrization so I'll try to get in touch with company which provided the meter. Best regards!

Kamil

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

L+G E650 System.OutOfMemoryException

Hi,

Can you try to make connection to the meter and send disconnect right away?
You do not need to initialize connection with sending SNRM message.

BR,
Mikko

kamil

9 years 1 month ago

L+G E650 System.OutOfMemoryException

Hello,

at the moment I restarted the power on the meter and that solved our problem. I think we will run into this again and than I'll prepare software to send disconnect first and let you know if it works. Best regards,

Kamil

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin