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. Landis+Gyr E650 OutOfMemory Exception

Landis+Gyr E650 OutOfMemory exception

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 Bulka_Cz , 27 November, 2016
Forums
DLMSDirector

Hi,
trying to connect to LandisGyr E650 over TCP, but it results in OutOfMemory Exception
I try combination of comm setting, but the result is the same

8.0.0.25

Log created 0:19:40
0:19:44 Initializing Network connection.
0:19:45 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
0:19:45 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
0:19:45 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
0:19:45 Parsing UA reply succeeded.
0:19:45 Send AARQ request
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 1C 03 20 FF FF 80 AB 7E
0:19:45 Received data
7E A8 4E 21 03 30 6A 85 E6 E7 00 0C 81 CC 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 02 16 FF 57 14 7E
System.OutOfMemoryException: Pro další provádění programu není dostatek paměti.
v GXDLMSDirector.GXDLMSDevice.InitializeConnection() v C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:řádek 421
v GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) v C:\Projects\GXDLMSDirector\Development\MainForm.cs:řádek 931

Hi,

Please, create own thread. Data what you are sending in AARQ message is correct. Server and client addresses are also correct. Reply from meter is strange. If you read your meter again is reply same?

BR,

Mikko

Yes, reply is same. I tryed alse DLMS.net example - console aplication with exactly same result

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Landis+Gyr E650 OutOfMemory exception

Hi,

Your data is really strange. We read with our meter without problems.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Landis+Gyr E650 OutOfMemory exception

Hi,

Are you using serial port or TCP/IP connection? Do you have several meters on the same connection?

BR,

Mikko

Bulka_Cz

9 years 6 months ago

I use TCP connection with one

I use TCP connection with one meter on network.

I find out that when I dont close connection correctly, next time this exception is thrown. I have to open connection with another TCP client, send data to meter (7E A0 07 03 21 93 0F 01 7E), response is received OK, than I disconnect from server and Gurux is working OK again

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Landis+Gyr E650 OutOfMemory exception

Hi,

your attention is a very interesting. This explain data. I believe that you was reading association view before you close connection. We have to think can we improve this to GXDLMSDirector.

Thank you very much for sharing this information.

BR,

Mikko

Bulka_Cz

9 years 6 months ago

I send email with attachments

I send email with attachments (screenshots + code) to [Admin removed email].

  • 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