Insufficient System Resources Exist to Complete the API (1 Viewer)

pierremenard

MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    TV-Server Version: rev 18550
    MediaPortal Version: 2.3 rev 18550
    MediaPortal Skin: Indico
    Windows Version: Windows XP SP2
    CPU Type: Intel Core Due Duo E6750
    HDD: Samsung HD403LJ SpinPoint T166 - 400Gb + Maxtor Dmax10 160gb Sata2
    Memory: OCZ DDR2 PC2-6400 Gold XTC Dual Channel - 2GB (1GBx2)
    Motherboard: Asus P5KC
    Motherboard Chipset: Intel® P35 / ICH9 with Intel® Fast Memory Access Technology
    Motherboard Bios:
    Video Card: Asus 8500GT
    Video Card Driver: Latest
    Sound Card: Realtek ALC 883, 8-channel High-Definition Audio CODEC
    Sound Card AC3: SPDIF
    Sound Card Driver: Latest
    1. TV Card: FireDTV S2
    1. TV Card Type: DVB-S2
    1. TV Card Driver: Latest
    2. TV Card: Hauppauge 1300 (disabled)
    2. TV Card Type: Hybrid
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: NVIDIA
    MPEG2 Audio Codec: NVIDIA
    Satelite/CableTV Provider: HotBird
    HTPC Case: MSI Hetis
    Cooling:
    Power Supply: Silverstone La Scala SST-LC13S - silver
    Remote: MCE
    TV: Samsung le40n87
    TV - HTPC Connection: DVI-HDMI

    This is not a Mediaportal issue, but it's an issue I get when I use Mediaportal, so maybe someone has something to suggest.

    I use Tv Server.

    When Powerscheduler (server/client version) try to Hibernate the PC, I get the message "Insufficient System Resources Exist to Complete the API". After that, the hibernate button disappear from shutdown menu. Symptoms are the same as MS KB 909095, but I already have installed the patch. So, I do not know what to do.

    As the problem arise only when mediaportal is running, is there a script I can use to make powerscheduler server kill mediaportal before hibernation and re-run when system resume?

    Thank you!

    F.V.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    This would also happen without MP..
    Did you try with only 1 Gig of RAM?
     

    pierremenard

    MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    This does not happen without MP. And does not happen if MP has just started. The hibernation is blocked only if MP had a normal usage (a little bit of music, some tv). I think it is linked on the amount of RAM used by the application.

    Cross-test:
    Normal use of MP -> Hibernation -> "Insufficient System Resources Exist to Complete the API"
    Normal use of MP -> Quit MP -> Hibernation -> OK

    I know it's a system error, it's not MP to blame. Anyhow I'm looking for a workaround. So is it possible that tvservice kills MP and re-run at resume? There's a command line option, but it's the same for hibernation and resume and I need 2 different...

    F.

    p.s. I did not try with only 1 gig. Should I?
    p.s. In a MS newsgroup they just told me to unenable Hibernation, restart, defragment, restart, re-enable hibernation. I'll try this evening. With little faith.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    p.s. I did not try with only 1 gig. Should I?

    It sounds strange but this M$ bug does only occur with 2 GB ...

    Once you triggered it it doesn't matter if you close the application before trying again - you'll get the same error.

    I had this on one machine without MP but e.g. Visual Studio or Firefox betas as well - after I removed one GB from that rig for another computer the error was gone.
     

    ravenrocks

    Portal Pro
    October 11, 2007
    351
    96
    I have the same MB as you, with 2GB of Ram, and the same error. Seems like it could be related. I just installed the fix from KB909095 cause I didn´t know such a fix existed, maybe it will help on my system, but can't test it until I get home from work.
     

    Spooky

    MP Donator
  • Premium Supporter
  • February 14, 2005
    1,187
    47
    void 4tl
    Home Country
    Austria Austria
    I have the same problem on a computer with 2 GB of RAM (Motherboard: ASUS M2NPV-VM). I didn't know anything about the KB909095 fix either, will try that too :)
     

    pierremenard

    MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    47
    Verona (Italy)
    Home Country
    Italy Italy
    p.s. I did not try with only 1 gig. Should I?

    It sounds strange but this M$ bug does only occur with 2 GB ...

    Once you triggered it it doesn't matter if you close the application before trying again - you'll get the same error.

    This is true, after the first time I have to restart the system to have hibarnation avaiable again. But if I do not get the error I can Hibernate many times.
    What I tried is:

    1. Run Mediaportal normally
    2. Close mediaportal
    3. Manually put in hibernation (and that's work)
    4. Let TV powerscheduler resume the pc
    5. Manually restart MP
    [repeat from 2 ad libitum]

    If it would be possible to automate point 2 and 5 (through tv service) I think everything would work smoothly. I tried to make a bat file and put it in /run before wakeup/ in setuptv but it did not work.

    MS says that the problem is related to high memory usage, and the only program I use is MP. If MP frees RAM before hibernation the problem should go away.

    F.V.
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    MS says that the problem is related to high memory usage, and the only program I use is MP. If MP frees RAM before hibernation the problem should go away.

    Ram should never go over 200Mb with MP running TV or anything else, so with 2Gb installed that's not a issue.

    Have you got mssql memory usage capped, as per here TV-Engine 0.3/config-SQL-Server - MediaPortal Wiki Documentation

    I would just install the M$ fix, and if it continues worry about posting back here, but please say what you have done to rectify your problem.
     

    Users who are viewing this thread

    Top Bottom