INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS Browse/Image crash (mhwlng)  (Read 1693 times)

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
MCWS Browse/Image crash (mhwlng)
« on: March 07, 2014, 04:49:47 am »

Quote
In an upcoming build, the MCWS/v1/Browse/Image function should behave more sanely, and directly return a high-resolution artwork, and not only on the second call (or a bit randomly at that).
Hendrik

after a few of these high resolution MCWS calls, media center now crashes :

Code: [Select]
http://xxxxx:52199/MCWS/v1/Browse/Image?ID=1021&Width=680&Height=1000&Format=jpg&Token=lTiqjseX
It looks like there is no crash at a lower resolution :

Code: [Select]
http://xxxxx:52199/MCWS/v1/Browse/Image?ID=1006&Width=320&Height=476&Format=jpg&Token=lTiqjseX
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10923
Re: JRiver Media Center 19.0.120 -- Available Here
« Reply #1 on: March 07, 2014, 04:57:54 am »

after a few of these high resolution MCWS calls, media center now crashes :

Define "a few"? A few hundred, a few thousand?
It caches the thumbnails in memory, did you maybe pay attention to MCs memory usage when it happens?

It does reclaim the memory again eventually though, clearing the cache.
I wonder how many you really have to query in a short period for memory to be an issue.

At least I managed to grab all my Series images (around 100) on one page and not run into trouble.
Logged
~ nevcairiel
~ Author of LAV Filters

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: JRiver Media Center 19.0.120 -- Available Here
« Reply #2 on: March 07, 2014, 05:02:13 am »

the MCWS calls come from a web page with about 60 TV show posters on it.
So, potentially, 60 MCWS calls could be made at the same time.
The Media Center PC has 16GB RAM so it is unlikely that it runs out of memory.
I've seen Media Center crash after downloading 5 pictures or 20 pictures. It's not consistent.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10923
Re: JRiver Media Center 19.0.120 -- Available Here
« Reply #3 on: March 07, 2014, 05:26:40 am »

I tried the same setup, but no luck reproducing, can you post or send a crash log? including a crash dump would be great (it should by default be in the log zip it generates)
Logged
~ nevcairiel
~ Author of LAV Filters

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: MCWS Browse/Image crash (mhwlng)
« Reply #4 on: March 07, 2014, 05:48:36 am »

I hope this helps

>>log<<

When I first switched on logging, media center didn't crash but just hung.
the second time it crashed (I think after 4 images), I restarted media center and created this log.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10923
Re: MCWS Browse/Image crash (mhwlng)
« Reply #5 on: March 07, 2014, 11:05:03 am »

Thanks, that helped. I think I know why it crashed, just need to figure out the best way to fix it.
Logged
~ nevcairiel
~ Author of LAV Filters

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10923
Re: MCWS Browse/Image crash (mhwlng)
« Reply #6 on: March 12, 2014, 04:51:50 am »

There should be a fix coming in build 122.
Logged
~ nevcairiel
~ Author of LAV Filters

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: MCWS Browse/Image crash (mhwlng)
« Reply #7 on: March 12, 2014, 04:52:19 am »

Thank You!
Logged
Pages: [1]   Go Up