Python Forum
Queue.Queue() would not reduce capacity after get()
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Queue.Queue() would not reduce capacity after get()
#2
http://effbot.org/pyfaq/why-doesnt-pytho...object.htm

https://stackoverflow.com/questions/1545...-in-python

You could try create a new queue. Swap it out for the old one. Clear old queue then del old queue.
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
RE: Queue.Queue() would not reduce capacity after get() - by Windspar - Dec-29-2017, 04:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [redistribution] Reduce number + size of dependencies? Winfried 2 635 Jan-31-2025, 10:17 PM
Last Post: snippsat
  queue for async function python telegram.ext noctious 0 3,208 Jun-11-2023, 02:58 PM
Last Post: noctious
  reduce nested for-loops Phaze90 11 5,048 Mar-16-2023, 06:28 PM
Last Post: ndc85430
  Adding values with reduce() function from the list of tuples kinimod 10 5,400 Jan-24-2023, 08:22 AM
Last Post: perfringo
  Priority Queue with update functionality PythonNewbee 4 4,895 Dec-29-2022, 12:13 PM
Last Post: Yoriz
  Multiprocessing queue catch get timeout Pythocodras 1 4,325 Apr-22-2022, 06:01 PM
Last Post: Pythocodras
  Asyncio: Queue consumer gets out of while loop without break. Where exactly and how? saavedra29 2 4,416 Feb-07-2022, 07:24 PM
Last Post: saavedra29
  Clearing an asyncio queue if it's empty H84Gabor 0 3,256 Jan-28-2022, 02:27 AM
Last Post: H84Gabor
  Error when using Watchdog and Qt to keep open a Queue before and after sending first pyhill00 0 2,408 Oct-28-2021, 09:10 AM
Last Post: pyhill00
  Package cannot be loaded into PBS queue file emersonpl 1 2,844 Sep-09-2021, 08:06 PM
Last Post: emersonpl

Forum Jump:

User Panel Messages

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