- Joined
- Jan 27, 2006
- Messages
- 2,454 (0.36/day)
Maybe it's not that important right now. I can try it after I've finished the current run, which means I'll probaly have some kind of result on friday.Why?
Maybe it's not that important right now. I can try it after I've finished the current run, which means I'll probaly have some kind of result on friday.Why?
System Name | Brightworks Systems BWS-6 E-IV |
---|---|
Processor | Intel Core i5-6600 @ 3.9GHz |
Motherboard | Gigabyte GA-Z170-HD3 Rev 1.0 |
Cooling | Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF |
Memory | 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance |
Video Card(s) | EVGA GEForce GTX 1050Ti 4Gb GDDR5 |
Storage | Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD |
Display(s) | Samsung S24E650BW LED x 2 |
Case | Fractal Design Define R4 |
Power Supply | EVGA Supernova 550W G2 Gold |
Mouse | Logitech M190 |
Keyboard | Microsoft Wireless Comfort 5050 |
Software | W10 Pro 64-bit |
Why is a commit limit in place? Why does the room you are standing in limit the size of the furniture you put in it?Why is such a commit limit in place? MS requires you to either sacrifice notable storage space just to use your RAM, or face annoying errors like this.
Yeah. So? That proves nothing.I can use 99% of my system RAM with no swap and no errors.
Huh? Again, you just demonstrated you really don't understand how it works in Windows and you should go with the defaults. Again, not a criticism - just another observation.but why is there no option to get around this?
I don't think he said he does, he just compared Windows to Linux, right?Huh? Again, you just demonstrated you really don't understand how it works in Windows
System Name | Skunkworks 3.0 |
---|---|
Processor | 5800x3d |
Motherboard | x570 unify |
Cooling | Noctua NH-U12A |
Memory | 32GB 3600 mhz |
Video Card(s) | asrock 6800xt challenger D |
Storage | Sabarent rocket 4.0 2TB, MX 500 2TB |
Display(s) | Asus 1440p144 27" |
Case | Old arse cooler master 932 |
Power Supply | Corsair 1200w platinum |
Mouse | *squeak* |
Keyboard | Some old office thing |
Software | Manjaro |
No, I am notSorry, TheinsanegamerN but you just underlined the Princess's and my point. You just demonstrated you don't fully understand commit rates or commit limits.
That is NOT a criticism. Just an observation.
Are you a true expert in memory management? Are you a computer scientist? Note I did not ask if you are a programmer or even a hardware tech.
Right. But if your room has space for 2 chairs and a table, but refuses entrence if you put mroe then a table into the room, THAT doesnt make any sense. That's what MS's commit limit is doing.Why is a commit limit in place? Why does the room you are standing in limit the size of the furniture you put in it?
The Princess demostrated a situation where, with no Swap available, the system was acting like it was out of memory when there was demonstrably plenty of physical RAM not being used. MS forces you to have a page file large enough to hold a hypothetical commit larger then what you are actually using to use your phsyical RAM. This is silly.Commit limit = the current page file size + RAM amount. How is Microsoft forcing that limit on you?
Space slated for swap usage cannot be used to store files. If your swap is not large enough, even if you are not using said swap, windows will not use all your available phsyical RAM. This, demonstrably, requires you to sacrifice storage to use RAM in windows.And nothing requires you sacrifice your storage space to use your RAM. Total nonsense.
It proves that requiring commits larger thent he amount of RAM you are using is unnecessary.Yeah. So? That proves nothing.
No, but it demonstrates that your risk may be lower then the standard, and if you know what you are doing/are aware of the risks/have your reasons, you dont need Microsoft Door Manager refusing to turn off the lights because your door is unlocked.I left my front door unlocked last night and no one came in. That means it is safe to leave my door unlocked, right?
I dont use windows, I use linux. And I dont have these issues.Huh? Again, you just demonstrated you really don't understand how it works in Windows and you should go with the defaults. Again, not a criticism - just another observation.
System Name | Brightworks Systems BWS-6 E-IV |
---|---|
Processor | Intel Core i5-6600 @ 3.9GHz |
Motherboard | Gigabyte GA-Z170-HD3 Rev 1.0 |
Cooling | Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF |
Memory | 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance |
Video Card(s) | EVGA GEForce GTX 1050Ti 4Gb GDDR5 |
Storage | Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD |
Display(s) | Samsung S24E650BW LED x 2 |
Case | Fractal Design Define R4 |
Power Supply | EVGA Supernova 550W G2 Gold |
Mouse | Logitech M190 |
Keyboard | Microsoft Wireless Comfort 5050 |
Software | W10 Pro 64-bit |
LOL I don't use Linux (anymore). I use Windows. And I don't have these issues.I dont use windows, I use linux. And I dont have these issues.
System Name | Pioneer |
---|---|
Processor | Ryzen R9 9950X |
Motherboard | GIGABYTE Aorus Elite X670 AX |
Cooling | Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans... |
Memory | 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30 |
Video Card(s) | XFX RX 7900 XTX Speedster Merc 310 |
Storage | Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs |
Display(s) | 55" LG 55" B9 OLED 4K Display |
Case | Thermaltake Core X31 |
Audio Device(s) | TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED |
Power Supply | FSP Hydro Ti Pro 850W |
Mouse | Logitech G305 Lightspeed Wireless |
Keyboard | WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps |
Software | Gentoo Linux x64 / Windows 11 Enterprise IoT 2024 |
I can tell you similar programs exist that do what you are doing without reinventing the wheel.I've installed more than a hundred times ever since W2000, and many times I've done it directly without trying to figure out what's going on, but in the end it always depends on what's wrong.
This time it was different. It pretty much always takes three days before it goes wrong, and I just got too curious to let it go.
Can anyone guess why this code would cause memory leaks in Windows, but only after three days? I'm no expert.. The program itself never uses more than 4 MB.
View attachment 323638
System Name | Rainbow Sparkles (Power efficient, <350W gaming load) |
---|---|
Processor | Ryzen R7 5800x3D (Undervolted, 4.45GHz all core) |
Motherboard | Asus x570-F (BIOS Modded) |
Cooling | Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate |
Memory | 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V) |
Video Card(s) | Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W)) |
Storage | 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2 |
Display(s) | Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144) |
Case | Fractal Design R6 |
Audio Device(s) | Logitech G560 | Corsair Void pro RGB |Blue Yeti mic |
Power Supply | Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY) |
Mouse | Logitech G Pro wireless + Steelseries Prisma XL |
Keyboard | Razer Huntsman TE ( Sexy white keycaps) |
VR HMD | Oculus Rift S + Quest 2 |
Software | Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware! |
Benchmark Scores | Nyooom. |
These massive memory leaks occured for me when using any active microphone and i had Nvbroadcast installed, from any source (the official nvidia app, Icue, LGhub, etc)The memory chugging kicked in today, I checked with poolmon and figured it out. I have the same problem as this one.
When looking for info I saw a lot of dead ends, people who never could figure it out. Here I saw some more info about what to do, although I never got to try it myself.
The cause for this was a small program I made that runs in the background (audio related). I will have a look at it later on, but I'm glad I didn't reinstall! That would have been a waste of time.
I disabled some Startup Event Trace Sessions earlier, do they have to be reactivated?
Thanks everyone for the help!
Play a soundfile (silence) every tenth second.
I didn't try to invent anything, just solving a simple problem on my own. Now I keep on working with it just to learn from it.I can tell you similar programs exist that do what you are doing without reinventing the wheel.
Look into something like below:
I'm not a memory management expert, so I'll defer to those who are, but to my limited understanding, when something wants to allocate memory, Windows wants to ensure it can promise that memory will always be there if it ever goes to get referenced. From what I understand, Linux (and I suppose MacOS) apparently allow overcommiting to some degree, but I think even they have their limits. And when things run out in those situations, things tend to be even more disastrous. Windows' philosophy seems to be to not allow it to get to that point. Linux seems more "it's on you" about everything because it puts trust and responsibility on you for a lot of things.Your rant is appreciated, but it also underlines why so many think they can outdo MS. Why is such a commit limit in place? MS requires you to either sacrifice notable storage space just to use your RAM, or face annoying errors like this. Linux doesnt ahve this issue, and neither did MACos back when you could upgrade. I can use 99% of my system RAM with no swap and no errors. Of course, that should be the default for msot users, but why is there no option to get around this?
It's also brining back bad memories of XP and it's LOVE of swapping as much as possible to pagefile. I do remember making RAMdisks with excess sytem RAM and forcing the pagfile onto them to get around this, but it was something just dumb....
System Name | Brightworks Systems BWS-6 E-IV |
---|---|
Processor | Intel Core i5-6600 @ 3.9GHz |
Motherboard | Gigabyte GA-Z170-HD3 Rev 1.0 |
Cooling | Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF |
Memory | 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance |
Video Card(s) | EVGA GEForce GTX 1050Ti 4Gb GDDR5 |
Storage | Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD |
Display(s) | Samsung S24E650BW LED x 2 |
Case | Fractal Design Define R4 |
Power Supply | EVGA Supernova 550W G2 Gold |
Mouse | Logitech M190 |
Keyboard | Microsoft Wireless Comfort 5050 |
Software | W10 Pro 64-bit |
Right. But if your room has space for 2 chairs and a table, but refuses entrence if you put mroe then a table into the room, THAT doesnt make any sense. That's what MS's commit limit is doing.
You just keep demonstrating you don't understand how it works.MS forces you to have a page file large enough to hold a hypothetical commit larger then what you are actually using to use your phsyical RAM.
And it shows.I dont use windows, I use linux. And I dont have these issues.
System Name | My Ryzen 7 7700X Super Computer |
---|---|
Processor | AMD Ryzen 7 7700X |
Motherboard | Gigabyte B650 Aorus Elite AX |
Cooling | DeepCool AK620 with Arctic Silver 5 |
Memory | 2x16GB G.Skill Trident Z5 NEO DDR5 EXPO (CL30) |
Video Card(s) | XFX AMD Radeon RX 7900 GRE |
Storage | Samsung 980 EVO 1 TB NVMe SSD (System Drive), Samsung 970 EVO 500 GB NVMe SSD (Game Drive) |
Display(s) | Acer Nitro XV272U (DisplayPort) and Acer Nitro XV270U (DisplayPort) |
Case | Lian Li LANCOOL II MESH C |
Audio Device(s) | On-Board Sound / Sony WH-XB910N Bluetooth Headphones |
Power Supply | MSI A850GF |
Mouse | Logitech M705 |
Keyboard | Steelseries |
Software | Windows 11 Pro 64-bit |
Benchmark Scores | https://valid.x86.fr/liwjs3 |
System Name | Pioneer |
---|---|
Processor | Ryzen R9 9950X |
Motherboard | GIGABYTE Aorus Elite X670 AX |
Cooling | Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans... |
Memory | 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30 |
Video Card(s) | XFX RX 7900 XTX Speedster Merc 310 |
Storage | Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs |
Display(s) | 55" LG 55" B9 OLED 4K Display |
Case | Thermaltake Core X31 |
Audio Device(s) | TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED |
Power Supply | FSP Hydro Ti Pro 850W |
Mouse | Logitech G305 Lightspeed Wireless |
Keyboard | WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps |
Software | Gentoo Linux x64 / Windows 11 Enterprise IoT 2024 |
Oh no that's not how you came across at all, no worries.I didn't try to invent anything, just solving a simple problem on my own. Now I keep on working with it just to learn from it.
Thanks for the tip.
If anyone interprets my posts as me bragging about what I've accomplished, well that's not what's going on. I mean, it's like two lines of code lol..
I just wanted some help, and I'm thankful for all the help I've been getting
System Name | Main System |
---|---|
Processor | i9-10940x |
Motherboard | MSI X299 Xpower Gaming AC |
Cooling | Noctua NH-D15S + Second Fan |
Memory | G.Skill 64GB @3200MHz XMP |
Video Card(s) | ASUS Strix RTX 3090 24GB |
Storage | 2TB Samsung 970 EVO Plus; 2TB Corsair Force MP600; 2TB Samsung PM981a |
Display(s) | Dell U4320Q; LG 43MU79-B |
Case | Corsair A540 |
Audio Device(s) | Creative Lab SoundBlaster ZX-R |
Power Supply | EVGA G2 1300 |
Mouse | Logitech MK550 |
Keyboard | Corsair K95 Platinum XT Brown Switches |
Software | Windows 10 Pro |
Benchmark Scores | Cinebench R20 - 6910; FireStrike Ultra - 13241; TimeSpy Extreme - 10067; Port Royal - 13855 |
So I ran your code as is, and noted the memory usage at different interval -That's not how it works. Like I said, RAM usage won't budge for three days, and after that it increases by about 6 GB per hour. I have had task manager open on a separate display, keeping a close eye on it.
The leak kicked in yesterday like predicted. When I left home the paged pool was about 500 MB, and when I came home an hour later it was 6,2 GB, and I could see it go up with about 100 MB at a time. Non-paged had gone up to about 1 GB too. This is totally expected behavior based on what I ve seen before.
No, only using this:
Code:using System; using System.Media; using System.Threading.Tasks;
I dunno, like I said before, I'm sceptical about Thread.Sleep().
___________________________________________________________
Currently I'm running with a 1 second delay (down from 10), just to see if the problem kicks in earlier. My bet is no, but I'm only 9 hours in so it's to early to tell.
System Name | Main PC |
---|---|
Processor | 13700k |
Motherboard | Asrock Z690 Steel Legend D4 - Bios 13.02 |
Cooling | Noctua NH-D15S |
Memory | 32 Gig 3200CL14 |
Video Card(s) | 4080 RTX SUPER FE 16G |
Storage | 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red |
Display(s) | LG 27GL850 |
Case | Fractal Define R4 |
Audio Device(s) | Soundblaster AE-9 |
Power Supply | Antec HCG 750 Gold |
Software | Windows 10 21H2 LTSC |
Bingo for my system.If there's any driver I suspect it's Nvidia, I've had problems with it on this one and changed the driver before. On the other hand, since the issue persisted after a driver change, maybe it's something else causing this.
Thanks for trying out the code! What I'm most interested in is what happens on day three. I've tried to explain two times already that that something else is happening at that point.So I ran your code as is, and noted the memory usage at different interval -
System Name | Z77 Rev. 1 |
---|---|
Processor | Intel Core i7 3770K |
Motherboard | ASRock Z77 Extreme4 |
Cooling | Water Cooling |
Memory | 2x G.Skill F3-2400C10D-16GTX |
Video Card(s) | EVGA GTX 1080 |
Storage | Samsung 850 Pro |
Display(s) | Samsung 28" UE590 UHD |
Case | Silverstone TJ07 |
Audio Device(s) | Onboard |
Power Supply | Seasonic PRIME 600W Titanium |
Mouse | EVGA TORQ X10 |
Keyboard | Leopold Tenkeyless |
Software | Windows 10 Pro 64-bit |
Benchmark Scores | 3DMark Time Spy: 7695 |
Why? That seems so pointless. There must be a reason. Isn't silence otherwise constantly "playing"?Play a soundfile (silence) every tenth second.
There is a reason, I've explained it. That's not what the thread is about.Why? That seems so pointless. There must be a reason. Isn't silence otherwise constantly "playing"?
System Name | Z77 Rev. 1 |
---|---|
Processor | Intel Core i7 3770K |
Motherboard | ASRock Z77 Extreme4 |
Cooling | Water Cooling |
Memory | 2x G.Skill F3-2400C10D-16GTX |
Video Card(s) | EVGA GTX 1080 |
Storage | Samsung 850 Pro |
Display(s) | Samsung 28" UE590 UHD |
Case | Silverstone TJ07 |
Audio Device(s) | Onboard |
Power Supply | Seasonic PRIME 600W Titanium |
Mouse | EVGA TORQ X10 |
Keyboard | Leopold Tenkeyless |
Software | Windows 10 Pro 64-bit |
Benchmark Scores | 3DMark Time Spy: 7695 |
Nope, you're the second person who ask.I read three pages where you seem to try your hardest not to explain it.
My objective, like I said, is right now to learn how this works. From the beginning it was to find the memory leak, as I had no clue it was this program that caused it. I suspected some driver, and I wasn't the only one.Well, have fun! I am sure there is a better way to do whatever you are trying to do, but that doesn't seem to be your objective.
Well, you've read all of it so you should know.I would start by asking why you are doing what you are doing.
I didn't try to invent anything, just solving a simple problem on my own. Now I keep on working with it just to learn from it.
Way ahead of you. But you've already read it so this isn't news for you.Isn't this something you could easily "solve" with Windows Task Scheduler?
I'm going to set longer intervals, and if that affects how long it takes until the problem comes back then I'll start focusing on my program.
I will also replace SoundPlayer with MediaPlayer and see if that changes anything. Or set the task scheduler to start it every x second instead of looping it.
System Name | Main System |
---|---|
Processor | i9-10940x |
Motherboard | MSI X299 Xpower Gaming AC |
Cooling | Noctua NH-D15S + Second Fan |
Memory | G.Skill 64GB @3200MHz XMP |
Video Card(s) | ASUS Strix RTX 3090 24GB |
Storage | 2TB Samsung 970 EVO Plus; 2TB Corsair Force MP600; 2TB Samsung PM981a |
Display(s) | Dell U4320Q; LG 43MU79-B |
Case | Corsair A540 |
Audio Device(s) | Creative Lab SoundBlaster ZX-R |
Power Supply | EVGA G2 1300 |
Mouse | Logitech MK550 |
Keyboard | Corsair K95 Platinum XT Brown Switches |
Software | Windows 10 Pro |
Benchmark Scores | Cinebench R20 - 6910; FireStrike Ultra - 13241; TimeSpy Extreme - 10067; Port Royal - 13855 |
I don't know why or how the page pool works that way and frankly, as a developer, I am more concerned with writing the proper code and once that is done, the problem should resolve itself. Anyway, I tried this line to replace your Task.Run and I don't see memory growing anymore. Perhaps this will work for whatever purpose that you need..Thanks for trying out the code! What I'm most interested in is what happens on day three. I've tried to explain two times already that that something else is happening at that point.
What you're showing doesn't explain the memory usage after 72 hours. Looking at the paged pool alone, it would take 2266 hours going from ~0.5 GB to 33.8 GB with a rate of 15 MB/h. Instead, it takes a few hours after day three.
View attachment 324068
As for VS, I don't have any packages installed here, which makes me wonder why you have to.
View attachment 324069
Thread.Sleep(TimeSpan.FromSeconds(interval));
Thank you. As my code doesn't have any asynchronous tasks running anymore I have no use for Task.Run.I don't know why or how the page pool works that way and frankly, as a developer, I am more concerned with writing the proper code and once that is done, the problem should resolve itself. Anyway, I tried this line to replace your Task.Run and I don't see memory growing anymore. Perhaps this will work for whatever purpose that you need..
C#:Thread.Sleep(TimeSpan.FromSeconds(interval));
System Name | Main System |
---|---|
Processor | i9-10940x |
Motherboard | MSI X299 Xpower Gaming AC |
Cooling | Noctua NH-D15S + Second Fan |
Memory | G.Skill 64GB @3200MHz XMP |
Video Card(s) | ASUS Strix RTX 3090 24GB |
Storage | 2TB Samsung 970 EVO Plus; 2TB Corsair Force MP600; 2TB Samsung PM981a |
Display(s) | Dell U4320Q; LG 43MU79-B |
Case | Corsair A540 |
Audio Device(s) | Creative Lab SoundBlaster ZX-R |
Power Supply | EVGA G2 1300 |
Mouse | Logitech MK550 |
Keyboard | Corsair K95 Platinum XT Brown Switches |
Software | Windows 10 Pro |
Benchmark Scores | Cinebench R20 - 6910; FireStrike Ultra - 13241; TimeSpy Extreme - 10067; Port Royal - 13855 |
No particular reason other than I just ran it instead of debug. Debug will take up more memory because there are other libraries loaded for debug. The best way to monitor is to build it as EXE and run it that way.Thank you. As my code doesn't have any asynchronous tasks running anymore I have no use for Task.Run.
The reason for why I didn't see Task.Run as a problem was that memory usage kept climbing even with Thread.Sleep.
I see you don't post memory usage images from VS, you use Task manager instead. Is there any reason for that?
Here I'm running with Thread.Sleep, although sped up to 10 ms delays. Process memory is climbing, heap is not.
View attachment 324083
The thing is that if I remore sp.PlaySync() and only loop Thread.Sleep then memory stays flat.
This makes me believe that SoundPlayer is indeed not fit for this kind of work, and that old post might still hold true.
System Name | Rainbow Sparkles (Power efficient, <350W gaming load) |
---|---|
Processor | Ryzen R7 5800x3D (Undervolted, 4.45GHz all core) |
Motherboard | Asus x570-F (BIOS Modded) |
Cooling | Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate |
Memory | 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V) |
Video Card(s) | Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W)) |
Storage | 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2 |
Display(s) | Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144) |
Case | Fractal Design R6 |
Audio Device(s) | Logitech G560 | Corsair Void pro RGB |Blue Yeti mic |
Power Supply | Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY) |
Mouse | Logitech G Pro wireless + Steelseries Prisma XL |
Keyboard | Razer Huntsman TE ( Sexy white keycaps) |
VR HMD | Oculus Rift S + Quest 2 |
Software | Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware! |
Benchmark Scores | Nyooom. |
Nothing wrong with bragging about writing two lines of code, if it solved a problemI didn't try to invent anything, just solving a simple problem on my own. Now I keep on working with it just to learn from it.
Thanks for the tip.
If anyone interprets my posts as me bragging about what I've accomplished, well that's not what's going on. I mean, it's like two lines of code lol..
I just wanted some help, and I'm thankful for all the help I've been getting
System Name | Firelance. |
---|---|
Processor | Threadripper 3960X |
Motherboard | ROG Strix TRX40-E Gaming |
Cooling | IceGem 360 + 6x Arctic Cooling P12 |
Memory | 8x 16GB Patriot Viper DDR4-3200 CL16 |
Video Card(s) | MSI GeForce RTX 4060 Ti Ventus 2X OC |
Storage | 2TB WD SN850X (boot), 4TB Crucial P3 (data) |
Display(s) | 3x AOC Q32E2N (32" 2560x1440 75Hz) |
Case | Enthoo Pro II Server Edition (Closed Panel) + 6 fans |
Power Supply | Fractal Design Ion+ 2 Platinum 760W |
Mouse | Logitech G602 |
Keyboard | Razer Pro Type Ultra |
Software | Windows 10 Professional x64 |
If I was shot with a gun, I would go to a doctor and get them to patch me up.My BT connection causes crackling noises when no audio is played.
Processor | Intel i5 9400f |
---|---|
Motherboard | MSI Z390 Gaming Plus |
Cooling | SilentiumPC Fera 3 |
Memory | 2x 8GB Corsair Vengeance LPX 3200 16-18-18-36 |
Video Card(s) | MSI GTX 1660 Super Ventus XS OC |
Storage | 500 GB Kingston A2000; 1 TB Kingston A2000; 1 TB HGST Travelstar |
Display(s) | AOC 24G2U |
Case | SilentiumPC Signum SG1 |
Audio Device(s) | Creative Pebble Plus; Logitech G533 |
Power Supply | beQuiet Systempower 9 500W |
Mouse | Logitech G403 Hero |
Keyboard | HyperX Alloy Origins (Red) |
Software | Windows 10 Pro |
Have you tried using PlayLooping() instead and just never stopping it. Might sidestep your problem as well. The only other thing I see is that t doesn't really need to be a variable. A constant or just using a literal should be fine.Thank you. As my code doesn't have any asynchronous tasks running anymore I have no use for Task.Run.
The reason for why I didn't see Task.Run as a problem was that memory usage kept climbing even with Thread.Sleep.