Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Memory Leaks in NXCGetDCIData or NXCGetDCIDataEx

Memory Leaks in NXCGetDCIData or NXCGetDCIDataEx

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 8.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y
    Y
    Yuksel
    wrote on last edited by
    #1

    Hi,

    I am using NETXMS 1.2.8. Everytime I show a graph for a DCI list item using NXCGetDCIDataEx or NXCGetDCIData I had memory leaks.

    Even I use NXCDestroyDCIData(dciData) and safe_free(thresholds) I got result below.

    NXUILIB.DLL Terminating!
    Detected memory leaks!
    Dumping objects ->
    {444710} normal block at 0x09290BC8, 12 bytes long.
     Data: <6    n7    > 36 00 00 00 00 0A 6E 37 00 00 00 00
    {444709} normal block at 0x09290B80, 12 bytes long.
     Data: <      n7    > 1C 00 00 00 00 0A 6E 37 00 00 00 00
    {444708} normal block at 0x09290668, 8 bytes long.
     Data: <  )  ) > 80 0B 29 09 C8 0B 29 09
    {444707} normal block at 0x09290618, 20 bytes long.
     Data: <            h ) > 1D 00 00 00 1F 01 00 00 02 00 00 00 68 06 29 09

    It was the same for NETXMS version 1.2.7 as well.

    Do you have any issue like this?

    Regards,
    Yuksel.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      You are right, there was memory leak in NXCGetDCIDataEx. I've fixed it (SVN rev. 7673). This fix will be part of 1.2.9 release.

      Best regards,
      Victor

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups