XXHighEnd - The Ultra HighEnd Audio Player
March 28, 2024, 05:50:11 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: August 6, 2017 : Phasure Webshop open ! Go to the Shop
Search current board structure only !!  
   Home   Help Search Login Register  
Pages: 1 [2]  All
  Print  
Author Topic: OutOfMemoryException ?  (Read 19833 times)
0 Members and 1 Guest are viewing this topic.
jarek
Audio Loudspeaker
*
Offline Offline

Posts: 103


View Profile
« Reply #15 on: November 01, 2010, 02:08:16 pm »

Peter,

Virual memory = 16MB only.
Physical memory = 16GB

SFS=220 (first screen shot)
SFS=220 (second, after closing OUT OF MEMORY screen)
SFS=150 (third screen)

Jarek


* screen sfs=220.PNG (48.59 KB, 867x481 - viewed 714 times.)

* sfs=220 after clicking OK.PNG (27.78 KB, 488x467 - viewed 696 times.)

* screen sfs=150, playing 22min track.PNG (29.44 KB, 488x466 - viewed 772 times.)
Logged

Windows 2008 Server Std 64bit *SP2* / dual boot with Win 7 Professional 64-bit *SP1* on SATAII spinning disk, XX on Spinning Disk, music on SATAII, i5-660 (4 cores) / 16GB RAM / Engine#4 *Adaptive Mode* / Q1/2/3/4/5 = *30*/0/0/0/0 (Dev.Buffer = *4096*) / ClockRes = *0,5ms* / Straight Contiguous SFS = 120 /  *Minimize OS = Off* / *Double Octo* Arc Prediction Upsampling /-> 24/768 Phasure NOS1 async USB DAC -> ARC Ref 40 Preamp -> mainamps.
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16827



View Profile Email
« Reply #16 on: November 01, 2010, 03:05:32 pm »

Quote
migrating from Z-2 with 1000 SFS to Z-3, I am confronted with this OutofMemory Exception too,

At least this one I can explain now ...

In 0.9z-2 there was a limit on the "first" allocation of memory, and this was (in SFS terms) 120. Your 1000 was appreciated, but lateron and only when the track length required it. Not so anymore (not even with SFS.ini = 00). So if you now ask for 1000, it will do that regardless, unless your system can't (which means Out of memory). Now, for 1000 it never will, because one thread can allocate 2000 only while the 1000 will grow into 3x 1500 and 1x 1000 = 5500. Way too much.

My case (SFS = 260) : 3 x 390 + 1x 260 = that 1.4GB I indicated earlier (or in a topic elsewhere, probably the "SFS Solved" topic.

This also implies that max SFS would be something like near 400, because of the 3x 600 + 1x400 = 2200 = just too much.

So what I would suggest now, is that nothing changed but the immediate allocation of the memory per above "formula", and/but your systems won't allow for this 2GB somehow (and it never did !).

Before I continue, Jarek, can you increase your Virtual Memory (Page Size) to a couple of GB and tell me whether it makes a difference ?
Or otherwise, may it be so that you too have that limit of 218 ?
(3x 327 + 1x 218 = 1199 -> ??)

Now, maybe it is so that this is somehow a 64bit quirk/limit; Can anyone with a 64bit OS confirm to use more than 220 for SFS (in 0.9z-3 of course) ?

Lastly for Goon-Heaven, your Virtual Memory of 8GB ... you do have 8GB space left on your OS disk, right ?

scratching

Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
Calibrator
Audio Enthusiast
**
Offline Offline

Posts: 556

Certified tweakaholic


View Profile
« Reply #17 on: November 01, 2010, 03:51:49 pm »

Quote
migrating from Z-2 with 1000 SFS to Z-3, I am confronted with this OutofMemory Exception too,

Now, maybe it is so that this is somehow a 64bit quirk/limit; Can anyone with a 64bit OS confirm to use more than 220 for SFS (in 0.9z-3 of course) ?


Just tried as requested and the boundary on my system is between 247 & 248 MB. At a setting of 247 the album I had queued started playing fine. At 248 or above the OutOfMemoryException message came up just after GUI dissappeared.

I tried it with 2 different albums.

I've been using a value of about 60 to 75 till now so haven't noticed this error until mentioned.

Hope that helps.

Cheers,

Russ
Logged

(Sep 26th 2012) (0.9z-7-4 )
Parameters (0.9z-7-4) ->Coming soon...
Parameters (0.9z-6-1) ->Same as for 0.9z-6
Parameters (0.9z-6) ->http://members.iinet.net.au/~calibrator/XXHE/XXHE_parms_(0.9z-6).jpg
Hardware: Asus P5Q, H2O cooled 3.6GHz C2D, 8GB ram, W7 Ult X64 (NO SP1), O/S plus Galleries on 2x(OCZ 60GB Vertex2) -> ESI Juli@ (v0.978 drivers @ 48 samples) -> coax SPDIF -> Integra DHC-9.9 -> Hafler XL600 -> SGR Audio S-series Octagons -> aural organs -> nucleus accumbens sounds good !

====================
Turntables .. how quaint bored
goon-heaven
Audio Loudspeaker
*
Offline Offline

Posts: 31



View Profile
« Reply #18 on: November 01, 2010, 03:59:58 pm »

Thanks for the explanation - I seemed to have missed that 2Gb thread memory limit in the "SFS Solved/Hey can we get Peter to write a Censored !RAMdisk player/device driverCensored !" thread. Where does that limit come from? .NET?

Quote
Lastly for Goon-Heaven, your Virtual Memory of 8GB ... you do have 8GB space left on your OS disk, right ?
My OS disk is down to its last 46Gb.

Changing to scheme1 has enabled me to get buffer size back to where it was.
 
Logged

7Ultimate 64bit on Patriot Torq 128 SSD, XX on 2Gb RAMDisk, music on NAS, i7-860 HT Off / Engine#4 Special Mode / Q1/2/3/4/5 = 1(32 samples)/0/0/0/0 Playerprio = Low / ThreadPrio = Real Time / Scheme = 3 Attended / FileSplit 1Gb / -> LynxTWO-B buffer size 32 -> EmmLabs DCC2 SE
jarek
Audio Loudspeaker
*
Offline Offline

Posts: 103


View Profile
« Reply #19 on: November 01, 2010, 04:25:53 pm »

Peter,

I checked SFS=200 and it is too much, the same 180. When 160 it is OK.
Now I lowered ramdisk size from 8GB to 6GB.
Logged

Windows 2008 Server Std 64bit *SP2* / dual boot with Win 7 Professional 64-bit *SP1* on SATAII spinning disk, XX on Spinning Disk, music on SATAII, i5-660 (4 cores) / 16GB RAM / Engine#4 *Adaptive Mode* / Q1/2/3/4/5 = *30*/0/0/0/0 (Dev.Buffer = *4096*) / ClockRes = *0,5ms* / Straight Contiguous SFS = 120 /  *Minimize OS = Off* / *Double Octo* Arc Prediction Upsampling /-> 24/768 Phasure NOS1 async USB DAC -> ARC Ref 40 Preamp -> mainamps.
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16827



View Profile Email
« Reply #20 on: November 01, 2010, 04:30:36 pm »

Quote
Now I lowered ramdisk size from 8GB to 6GB.

With the result of ?

(sorry, but I expected some conclusion out of that Happy)
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16827



View Profile Email
« Reply #21 on: November 01, 2010, 04:41:16 pm »

Quote
I seemed to have missed that 2Gb thread memory limit

Nah, that's from very long ago. But anyway, that is not what seems to bug you both.
Edit : The limit comes from being a 32 bit application (which is on purpose thus far).

Russ, thanks. So, no 64bit quirk either eh ...

I'm really puzzled.

Btw, below is my screenshot, this time from a 16/44.1 not upsampled (now playing) and an SFS of 260. Memory is 3GB, RAMDisk is 1GB (SFS.ini = 2.1).
Maybe someone else sees the secret ?


* OutOfMem01.png (16.72 KB, 871x502 - viewed 675 times.)
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16827



View Profile Email
« Reply #22 on: November 02, 2010, 07:05:54 pm »

Quote
Now I lowered ramdisk size from 8GB to 6GB.

With the result of ?

(sorry, but I expected some conclusion out of that Happy)

Jarek, hello-oo ?
Happy
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
Pages: 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.117 seconds with 19 queries.