Browsing nodes in Address Space give BadOutOfMemory error

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
vinaypyatimani
Jr. Member
Jr. Member
Posts: 3
Joined: 05 Apr 2018, 15:07

Browsing nodes in Address Space give BadOutOfMemory error

Post 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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Post 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?
Best regards
Unified Automation Support Team

vinaypyatimani
Jr. Member
Jr. Member
Posts: 3
Joined: 05 Apr 2018, 15:07

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Post 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.

vinaypyatimani
Jr. Member
Jr. Member
Posts: 3
Joined: 05 Apr 2018, 15:07

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Post by vinaypyatimani »

Hi ,

Can someone please help me here ?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Browsing nodes in Address Space give BadOutOfMemory erro

Post 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.
Best regards
Unified Automation Support Team

Post Reply