Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. [QXlsx] How can I close opened document?

[QXlsx] How can I close opened document?

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
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.
  • sdsoldiS Offline
    sdsoldiS Offline
    sdsoldi
    wrote on last edited by
    #1

    I'm using QXlsx library to open and manage a few excel documents. But when I'm going to open the second one, memory usage is duplicating.

    I'm using a pointer because I need to call from different functions. And the excel size is around 100mb. Memory usage with 1 excel document is 600-700mb of ram. If I try to open the second excel, memory crash around 1000mb.

    I try to delete pointer, or call to ~Document() to destroy. But these last command force end my program.

    If I put delete xlsx;, I can't read excel, change sheet or save. But the memory is still the same and I can't open more excel fields.

    I try these metods to pointer:
    QXlsx::Document* xlsx;
    QPointerQXlsx::Document xlsx;

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

      Hi,

      This module is not part of Qt. You should try to take contact with the author of it.

      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