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. Forums
  3. Insufficient Memory

Insufficient memory

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 coppice , 27 January, 2016
Forums
DLMSDirector

I installed DLMSDirector 8.0.0.4. When I try to connect to a meter by TCP the meter receives a valid AARQ. When the meter response with an AARE, which earlier versions of DLMSDirector found to be OK, 8.0.0.4 gives "Insufficient memory to continue the execution of the program". I tried various connection configurations - no security, lowest, and SHA1 - and all give the same error. I tried the latest code from the git repository, which identifies itself as 8.0.0.3, and I get the same result. I haven't yet tried debugging to see where the error occurs.

Profile picture for user Kurumi

Kurumi

10 years 4 months ago

Insufficient memory

Hi,

Could you send a trace to me. You can get trace selecting "View Log" under "Tools" menu.
We will check this. You will find my contact info from here:

http://www.gurux.fi/AboutUs

BR,

Mikko

coppice

10 years 4 months ago

Insufficient memory

The log is so short I can post it here:

6:35:18 PM Initializing Network connection.
6:35:18 PM Send AARQ request
00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 7E 1F FF FF
6:35:18 PM Received data
00 01 00 01 00
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:line 374
at GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:line 929

The actual response from the DLMS server was:

00 01 00 01 00 10 00 2b 61 29 a1 09 06 07 60 85 74 05 08 01 01 a2 03 02 01 00 a3 05 a1 03 02 01 00 be 10 04 0e 08 00 06 5f 1f 04 00 00 10 10 02 00 00 07

so the log is only showing the first 5 octets of a full AARE message.

Profile picture for user Kurumi

Kurumi

10 years 4 months ago

Insufficient memory

Hi,

We fixed this. We will release new version tomorrow.

BR,

Mikko

miacovella

10 years 2 months ago

errore insufficient memory

Hi
I've the same error:
4.23.42 Initializing serial connection.
14.23.42 Send SNRM request.
7E A0 07 03 03 93 8C 11 7E
14.23.42 Received data
7E A0 07 03 03 73 82 F6 7E
14.23.42 Parsing UA reply.<CR><LF>
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:line 384
at GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:line 929

Profile picture for user Administrator

Administrator

10 years 2 months ago

errore insufficient memory

Hi,

What version from GXDLMSDirector you are using?

miacovella

10 years 2 months ago

8.0.0.14

8.0.0.14

Profile picture for user Administrator

Administrator

10 years 2 months ago

errore insufficient memory

Hi,

What are your meter settings?

miacovella

10 years 2 months ago

Physical address:1

Physical address:1
Logical Address: 0
Client Address: 1
Thanx.

Profile picture for user Kurumi

Kurumi

10 years 2 months ago

errore insufficient memory

Hi,

Your meter do not accept your connection. Your settings are wrong.
Try to set Client Address to 16 (0x10).

We will fix this exception.

BR,

Mikko

miacovella

10 years 2 months ago

errore insufficient memory

Hi,
don't work.
Physical Address: 1
Logical address: 0
Client Address: 16

--> Insufficient memory...

Profile picture for user Kurumi

Kurumi

10 years 2 months ago

errore insufficient memory

Hi,

What meter you try to read? Is there DLMS or PRIME label on the meter?

BR,

Mikko

miacovella

10 years 2 months ago

errore insufficient memory

Hi,
The meter is SAMGAS G6 RSE/2,4
The protocol is dlms.
Thanx

Profile picture for user Kurumi

Kurumi

10 years 2 months ago

errore insufficient memory

Hi,

Is there DLMS label on the meter?
It seems that meter understands DLMS, but reply data is not correct.
Data is missing from packet.

We released new version. Get it and let me know what happened.

BR,

Mikko

miacovella

10 years 2 months ago

index bounds array

Now, i've another error after read.
16:17:01 Initializing serial connection.
16:17:01 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
16:17:02 Received data
7E A0 07 21 03 73 01 40 7E
16:17:02 Parsing UA reply.<CR><LF>
16:17:02 Parsing UA reply succeeded.
16:17:02 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 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 7E 1F FF FF 99 C8 7E
16:17:03 Received data
7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07 55 52 7E
16:17:03 Parsing AARE reply<CR><LF>61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07
16:17:03 Parsing AARE reply succeeded.
16:17:05 --- Collecting objects. ---
16:17:06 Collecting objects
7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 81 00 0F 00 00 28 00 00 FF 02 00 94 9E 7E
16:17:06 Received data
7E A0 23 21 03 52 35 8D E6 E7 00 C4 01 81 00 01 01 02 04 12 00 0F 11 02 09 06 00 00 28 00 00 FF 02 00 31 A3 7E
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
in GXDLMSDirector.MainForm.ReadDevice(GXDLMSDevice dev) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:riga 1345
in GXDLMSDirector.MainForm.Read(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:riga 1461
16:17:18 Disconnect request
7E A0 07 03 21 53 03 C7 7E
16:17:18 Received data
7E A0 07 21 03 73 01 40 7E

Profile picture for user Kurumi

Kurumi

10 years 1 month ago

SAMGAS G6 RSE/2,4

Hi,

We made one change to add support for SAMGAS G6 RSE/2,4.
Get latest version (Version 8.0.0.16).

BR,

Mikko

Bulka_Cz

9 years 6 months ago

Hi,

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

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

LandisGyr E650

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

  • 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