Python Forum
Gui slot machine-out of memory error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gui slot machine-out of memory error
#4
There are new labels created both outside and inside of the for loop

Create the labels once outside of the spin function

Update the existing labels in the spin function

delete them separately when they are no longer required or they can be deleted by destroying their parent.

At the moment labels are being piled up on top of each other using up memory.
Reply


Messages In This Thread
RE: Gui slot machine-out of memory error - by Yoriz - May-17-2020, 01:49 PM
RE: Gui slot machine-out of memory error - by Yoriz - May-17-2020, 02:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting an error while trying to process data, low memory when memory is not low? bkeith12 0 511 Dec-20-2024, 03:06 PM
Last Post: bkeith12
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 4,495 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  Memory Error While generating cheksum no mg24 2 1,908 Sep-25-2022, 10:33 PM
Last Post: mg24
  Help For Slot Machine Code Rayaan 1 3,537 Mar-30-2020, 05:01 AM
Last Post: SheeppOSU
  Memory consumption grows during execution only on single machine Jendker 2 2,518 Feb-10-2020, 01:57 PM
Last Post: Jendker
  Go around memory error Pytonormen 1 2,671 Oct-19-2019, 04:31 PM
Last Post: Gribouillis
  memory error using permutation list of 11 elements kikidog 1 4,738 Sep-10-2019, 08:22 PM
Last Post: ichabod801
  machine learning error (using jupyter) calonia 1 5,005 Jun-26-2019, 05:16 PM
Last Post: ThomasL
  Fix Memory Error while installing a library for Qgis alexastorga 0 3,069 Apr-13-2018, 04:54 PM
Last Post: alexastorga
  Dictionaries and memory error. jarrod0987 5 6,890 Feb-23-2018, 12:15 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020