Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8703789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:56:42+00:00 2026-06-13T02:56:42+00:00

The Question should be clear enough. I would like to know if there is

  • 0

The Question should be clear enough. I would like to know if there is a way to view the size of my ScriptDB? If I call the method .getSize() it will produce the number of items in my database?

I would like to know the size as I would like to be able to set up a script to go and delete old entries as I approach the 200mb size limit.

Thanks so much in advance for your time and energy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:56:43+00:00Added an answer on June 13, 2026 at 2:56 am

    As is written in the 1st comment of the question, now is impossible to get a ScriptDB data size but there is a workaround for this problem. The workaround is to envelope DB handling code by try/catch and clean the db if the code throws an exception. See an example bellow

    try {
      db.save(...);
    }
    catch(err) {
      // scavenge here
    }
    

    In the same way is possible to handle quota limits exceptions of the Cache Service.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The question should be clear enough, but is it of any advantage to use
Edited Question: This should be clear. using System; namespace UpdateDateTimeFields { class Program {
Question should say it all. Let's say there's a local file mydefaultvalues.txt, separated from
I think the question is clear enough. Some of the columns in my datawarehouse
I guess the title of the question is clear enough. What I want to
Hopefully I can articulate my question well enough to get some clear and usable
I'd like to know the answer to this simple question. When I create an
If the question title wasn't clear enough: I am using the jQuery AutoComplete plugin
Question Should one discard a packet with an unknown IPv6 extension header? Details I
I have a very simple yes no question: should static methods have same result

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.