Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QtJambi memory leak
Qt 6.11 is out! See what's new in the release blog

QtJambi memory leak

Scheduled Pinned Locked Moved Unsolved Language Bindings
qt jambimemory leakjava
2 Posts 2 Posters 1.4k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jeffry1971
    wrote on last edited by A Former User
    #1

    I write a simple java program using Qt Jambi 4.8.7. I extend a QWidget then add one custom signal and one custom slot(I do nothing in the slot function) and connect the custom signal/slot together. After this, I new a java Timer to trigger my custom signal repeatly. Here is my source file : https://1drv.ms/u/s!AhrVYxu_vZ8An_MYuhd1hJMxQy0bWg

    After my code execute for 15 minutes, the jvm memory usage exceeds 120MB. The only thing I do is emitting a signal then do nothing in slot. It is strange to my sense. Any mistake I made in my code or something wrong in Qt Jambi?

    Environment :
    OS : Ubuntu 16.04.2 LTS - x64 version
    HW : Intel Core i7
    Qt Jambi : Pre-compiled binary package(4.8.7 for x64 linux) download from official web site.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That version of QtJambi is not part of Qt. In fact QtJambi has been deprecated a long time ago and the version you are using is a community edition. You should ask the authors of it directly.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved