This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 8 - Pages: 1 - Last Post: 01-Aug-2018 22:20 Last Post By: Laza
xili1234

Posts: 28
Registered: 15-Nov-2007
crash chrome with big album
Posted: 31-Jul-2018 20:30
 
  Click to reply to this thread Reply
Hello

Look
https://album.clubalpin-idf.com/index.html
and
https://album.clubalpin-idf.com/Randonn%C3%A9e/index.html

I get crash from chrome with tablet (under android 7 with 3 Go memory) with a big album (around 160 000 pictures) .
It's always fine with firefox on the same tablet. It's ok with chrome on a PC / mac.

I think it's link to memory allocation.

I'm wondering if it's link to the size of the deep-data.json in my case it's 208 734 703 bytes !

I have try to disable info panel but the deep-data is just half these size.

Best regards
jGromit

Posts: 7,651
Registered: 31-Jan-2006
Re: crash chrome with big album
Posted: 31-Jul-2018 20:39   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
No problem in Chrome 68 under Android 8 on a Galaxy S7 phone. Try upgrading both Chrome and Android.
xili1234

Posts: 28
Registered: 15-Nov-2007
Re: crash chrome with big album
Posted: 31-Jul-2018 20:58   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I have 3000 differents users per month, I can't manage their device / browser .
jGromit

Posts: 7,651
Registered: 31-Jan-2006
Re: crash chrome with big album
Posted: 31-Jul-2018 21:06   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
Well, the skin can't compensate for the variations present among 3000 users. Some of them may be using obsolete operating systems or obsolete browsers, or have systems that haven't been cleaned up in years. Ultimately, that's their problem, not yours.
Laza

Posts: 2,261
Registered: 6-Sep-2005
Re: crash chrome with big album
Posted: 31-Jul-2018 21:29   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
Jesus, 160 thousand pictures in a single album?

The skin loads deep-data.json only if search, tag cloud search or some other function requires the whole database. I see though the file is loaded for some reason. I will have to check out why, as I don't see any of those functions.

You might want to chop your album into smaller pieces, and create a master album. This way the even the whole database will remain under controllable size.
karlmistelberger

Posts: 574
Registered: 5-Dec-2013
Re: crash chrome with big album
Posted: 01-Aug-2018 10:41   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
xili1234 wrote:
Hello

Look
https://album.clubalpin-idf.com/index.html
and
https://album.clubalpin-idf.com/Randonn%C3%A9e/index.html

I get crash from chrome with tablet (under android 7 with 3 Go memory) with a big album (around 160 000 pictures) .
It's always fine with firefox on the same tablet. It's ok with chrome on a PC / mac.

I think it's link to memory allocation.

I'm wondering if it's link to the size of the deep-data.json in my case it's 208 734 703 bytes !

I have try to disable info panel but the deep-data is just half these size.

Best regards


Don't worry about total size or deep-data.json size. What actually matters is folder size. Splitting https://album.clubalpin-idf.com/Randonn%C3%A9e/index.html on a yearly basis (one subfolder for each year) will help.

Users still experiencing problems may try a pristine profile: http://jalbum.net/forum/thread.jspa?threadID=54070&tstart=0
xili1234

Posts: 28
Registered: 15-Nov-2007
Re: crash chrome with big album
Posted: 01-Aug-2018 14:12   in response to: karlmistelberger in response to: karlmistelberger
 
  Click to reply to this thread Reply
I will try to use the Jalbum search function rather than split my page
https://album.clubalpin-idf.com/Randonn%C3%A9e/index.html by year.

The whole album is sort by activity / date / location .

For the user experience it's better to have a long page with all (you can search with control + F ) rather than to explore multiple year (this album is working since 2000 !) you don't open 18 pages to get your part...

Thanks for your help
karlmistelberger

Posts: 574
Registered: 5-Dec-2013
Re: crash chrome with big album
Posted: 01-Aug-2018 16:29   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
xili1234 wrote:
I will try to use the Jalbum search function rather than split my page

Tiger search has great performance. On my desktop machines running Apache response is instantaneous with 55.000 images contained in 12 folders 2007-2018

For the user experience it's better to have a long page with all (you can search with control + F ) rather than to explore multiple year (this album is working since 2000 !) you don't open 18 pages to get your part...

  • For a flat view of your folders you may enable site map. It's a single page under all circumstances, requires less resources and loads much faster than a large folder containing hundreds of subfolders.

  • I prefer the initial wait of global Tiger search to browsing a huge page with the associated hassle. Folder RandonnĂ©e confirmed this earlier finding.

  • Subsequent Tiger searches are much faster. Even a small i3-4130 Processor delivers instantaneously.

  • CTRL+F won't dive into the subdirectories. On the other hand Tiger search does and shows comprehensive results including subdirectories.The speed is limited only by the download time of deep-data.json and associated thumbnails.

You may reconsider after testing Tiger search and sitemap.
Laza

Posts: 2,261
Registered: 6-Sep-2005
Re: crash chrome with big album
Posted: 01-Aug-2018 22:20   in response to: xili1234 in response to: xili1234
 
  Click to reply to this thread Reply
deep-data.json alone is 200 MB. Way too big for a web page. It takes 20 secs on my broadband. In your case a server-based search would be much better if you insist on keeping the album in one. Unfortunately that can't be done with Tiger...

I couldn't figure out why the skin is loading this file every time. In my albums it never does, only when one of the global functions are used.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums