App Crashing in Chrome, Spreadsheets

Hi there!

We developed and deployed a resource Management app for our organization on which we run fairly complex features (multiple bots, automations) for multiple end users. Since last week, users on Google Chrome are experiencing frequent browser crashes whereas the app is accessible on Mozilla Firefox at such times. We tried solutions that were posted on the Appsheet Forum (including clearing browser data, cookies and caches; opening the app in an incognito mode) but none seem to work. Attaching snapshot of the error messages below:

Parallelly, we also face an issue where our data source (google spreadsheet) stops to load and causes the app to crash as well. This only gets resolved if we close the spreadsheet on all systems.

These issues are turning out to be major roadblocks in our development and use of the App - we would really appreciate some help. Also grateful if anyone can direct us to the right person or team which might be able to address such issues.

Thank you.

1 Like

Which specs does your pc have? Chrome is memory-hungry

2 Likes

Hi, I’m on a i5 with 12 gigs of RAM and an SSD. However, the problem we’re facing is across multiple PCs with everyone failing to open the app on chrome.

This seems to be a problem with Chrome, not AppSheet

2 Likes

Harshit_Goraya:

Parallelly, we also face an issue where our data source (google spreadsheet) stops to load and causes the app to crash as well.

About this though, how can you make a relationship between app crashing and GSheet? What makes you think that GSheet is not working?

2 Likes

Hi,
We get the following error on Gsheet which then stops the app from loading as well:

Error reads ā€œSome tools might be unavailable due to heavy traffic in this fileā€.

Thanks for sharing the fix on GChrome issue. However, since it’d be hard to moderate such an issue for our dozens of end-users, is there anything we can do at the backend to solve it?

Consider moving your data to a database. Google Sheets clearly isn’t suited for your app.

2 Likes

This screenshot does not look like Google Spreadsheet, if i m not wrong.

Looks like old stype of Google produce or other one from other platform or application.

2 Likes

Hi @tsuji_koichi, this is how a Google Spreadsheet opens up if it’s under heavy load - all features get disabled and we’re only allowed to view the data in a very HTML-esque format.

We too discovered this side of sheets recently, with our Appsheet backend.

1 Like

I never see such before with Google spreadsheet.
Worth asking Google Workspace help desk instead of Appsheet to see why you see such.

2 Likes

Thanks @Steve. We are planning to move to the enterprise plan and move our data to CloudSQL. However, we’re unsure whether that will fix the Google Chrome issue. Also, can you please let me know if automations/bots run smoother on a DB backend than a GSheet one?

Why you take automation as source of your problem ?

2 Likes

Harshit_Goraya:

ā€œSome tools might be unavailable due to heavy traffic in this fileā€.

Do you have a lot of users directly accessing the GSheet file? If so, you need to try and move away from that. Build your data tools within your app, or another app.



Harshit_Goraya:

We developed and deployed a resource Management app for our organization on which we run fairly complex features (multiple bots, automations) for multiple end users. Since last week, users on Google Chrome are experiencing frequent browser crashes

You haven’t mentioned anything about the size of your data, like number of rows, etc. Did your app have slow performance before now at all, possibly from lots of virtual columns? What types of complexities do you have set up?

3 Likes

Hi @tsuji_koichi - we started our development with a very basic version of the application and then started adding features. We did not face any problems during the initial days, but as we ramped up, we faced such issues. Hence we’re unsure if our development (adding of bots, tasks, events) might be causing any issues.

I agree automation is always funky with Appsheet. Better to take normal debug process to see what happens with your app if we disable bot etc to sorrow the possible root cause of your problem . We do always.

2 Likes

Thanks @Marc_Dillon

Marc_Dillon:

Do you have a lot of users directly accessing the GSheet file? If so, you need to try and move away from that. Build your data tools within your app, or another app.

No, we’re only at 3-4 odd users using the Spreadsheet in the backend.

Marc_Dillon:

You haven’t mentioned anything about the size of your data, like number of rows, etc. Did your app have slow performance before now at all, possibly from lots of virtual columns? What types of complexities do you have set up?

Number of sheets = 20
Number of rows = ~500 in each sheet
Number of columns = ~50 for each sheet
Brings the total cells to 25000.

Downloading the Spreadsheet as a .XLSX file shows a file size of 4.9 Mb.

We’re using very few virtual columns, only for concatenating fields for end-user view.
However, we have a lot of formulas in the ā€˜Auto-Compute’, ā€˜Data Validation’ and ā€˜Update Behavior’ sections.

The number of bots is about 20 (although they include dozens of tasks, processes, events).

We’ve observed a drop in performance (sync times, load times) as we have added more features to the app.

Thanks @tsuji_koichi. We’ll try to dig further and see if any particular bots might be the cause.

One question - We found the below information here:

Do not build an AppSheet app against a huge data set. What is ā€œhugeā€? For an AppSheet app, the compressed data size limit is 5MB or 10MB (depending on the device) for all the data in one app.

Is this also applicable against a SQL data source? We’re unsure if 5-10MB will accommodate our requirement from the app as we scale further.

Harshit_Goraya:

using the Spreadsheet in the backend

Do you have users interacting with GSheets as well as users from the App?
Are there things that could be removed from the file that are not related to AppSheet?

BTW I use around 40 sheets on Excel and the biggest one has Over 2.000 rows and filesize doesn’t pass 500KB

2 Likes

SkrOYC:

Do you have users interacting with GSheets as well as users from the App?

The GSheet is only used by the admin users to monitor/update data at the backend

SkrOYC:

Are there things that could be removed from the file that are not related to AppSheet?

Many sheets are not being used directly by Appsheet, but we have formulas that are fetching information from those sheets. For example, Sheet A is connected to Appsheet but a field ā€˜Country’ in that sheet is Vlooking data from a Sheet B (which is not directly linked to Appsheet)

SkrOYC:

BTW I use around 40 sheets on Excel and the biggest one has Over 2.000 rows and filesize doesn’t pass 500KB

Most of our data is strings/date which might be causing the size to go way over. We’re also using a lot of importranges and queries to pull data from multiple sources into our backend Gsheet. However, this shouldn’t cause any problems in theory because the data size remains unaffected.