Topic
  • 2 replies
  • Latest Post - ‏2014-04-14T04:45:59Z by PUC
PUC
PUC
2 Posts

Pinned topic BuildEntity crash with memory exception

‏2014-04-09T05:32:11Z |

Hello,

I try to create multiple records in a loop and got a memory exception after the 12th entity i create.

I reduced code for a test, just create an  commit an entity. (same problem if i commit entity with fieldinfos. I can find 12 records in DB, then same crash)

 

Try

 

sessionObj.UserLogon(Environment.UserName, TextBox2.Text, "test", AD_PRIVATE_SESSION, "")

 

For i = 0 To 18    <<<<=== running 12 times fine

   entity = sessionObj.BuildEntity("Job")

   entity.Commit()

   entity = Nothing

Next

sessionObj.SignOff()

Catch ex As Exception

MsgBox("Error :" & ex.Message)

End Try

 

any idea ?? Thx for any help.

 

  • CQAdmin
    CQAdmin
    103 Posts

    Re: BuildEntity crash with memory exception

    ‏2014-04-11T02:56:44Z  

    Can you please provide the memory and CPU details on the server you are running this script? Further, which version of CQ you are using.
    Please provide the screen shot of the exact error message.

  • PUC
    PUC
    2 Posts

    Re: BuildEntity crash with memory exception

    ‏2014-04-14T04:45:59Z  
    • CQAdmin
    • ‏2014-04-11T02:56:44Z

    Can you please provide the memory and CPU details on the server you are running this script? Further, which version of CQ you are using.
    Please provide the screen shot of the exact error message.

    The CQ Version is 7.1.1.03.00_2010C

    Server anywhere in the Company, really big.

    Using VB.NET with API DLL.

    Also I found (after the first error message):

    Der Einstiegspunkt "OleUninitialize" wurde nicht in der DLL "ole32.dll" gefunden as an

    Attachments