Page 1 of 1

Browsing nodes in Address Space give BadOutOfMemory error

Posted: 05 Apr 2018, 15:13
by vinaypyatimani
Hi all,

I'm trying to add around 800 nodes to the Address Space in a single Folder.
Everything works fine if I try to add 50 nodes. But anything more than 50 gives me BadOutOfMemory error.

I'm going through an Array and adding these elements using

Code: Select all

opcua_add_nodes() 
function.

Do I have to Change any Settings ? Is there a Default Limit to browse nodes ?

Thanks in advance,
Vinay

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Posted: 09 Apr 2018, 14:47
by Support Team
Hello Vinay,

are you using the AnsiC OPC UA SDK or the High Performance OPC UA SDK? Depending on that, there can be different reasons for the error. Also, do you get the error when creating the nodes or when browsing the folder containing the nodes?

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Posted: 11 Apr 2018, 11:13
by vinaypyatimani
Hi,

Thanks for the reply.

I'm using AnsiC SDK. The code runs fine. So I don't think there can be a issue while creating nodes. But when I try to browse nodes inside a Folder, I get this error.

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Posted: 24 Apr 2018, 12:12
by vinaypyatimani
Hi ,

Can someone please help me here ?

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Posted: 20 Sep 2018, 10:14
by Support Team
Hello Vinay,

the function opcua_add_nodes() is unknown to us, but we assume it contains code with calls to UaServer_CreateNode or similar functions which create nodes in the server address space. Please ensure that you check the return value of all SDK functions for a bad status, to ensure that all nodes are actually created.

For more information about the location where the error occurs, please activate the trace and set it to level 'All'. After that, reproduce the error by browsing the folder. You can then check the trace for hints about where the error actually occurs.