generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: how many values can a table hold?

Previous Thread :: Next Thread 
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:02 PM
I keep overflowing them and I dont know when to make another table.. lol

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
ServerLabs is not online. ServerLabs
Joined: 29 Dec 2010
Total Posts: 2263
31 May 2012 05:24 PM
As many as you create. You're probably overloading them with a loop, right?
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:41 PM
yup. lol It says ' memory full' and errors on the line it adds more to the table

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
Flash77 is not online. Flash77
Joined: 14 Jun 2008
Total Posts: 550
31 May 2012 05:46 PM
just run this script to tell you:

i = 1
table = {}
while true do
wait()
table[i] = 0
i = i + 1
print(i)
end


just let it run till it errors
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:49 PM
its a runnin. Im using repeat until when I loop.. would that be causing the probem because it run like WAY faster than wait()

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:51 PM
Im at 1 million..

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:52 PM
i kinda editted it to make it a repeat until bc that does like 10k loops in the time of one wait().. and now I cant stop it..

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 05:54 PM
I got to about 1.4million and finally made it to the rewind button. Roblox crashed.

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
31 May 2012 05:58 PM
I removed the "wait()" (Yes, I know it is major lag xD) and I am at 7000000s...

~Read Between The Squiggles~
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
31 May 2012 06:04 PM
I FIGURED IT OUT!

16777217
19:04:01 - not enough memory
19:04:01 - Script "Workspace.Script", Line 4
19:04:01 - stack end

~Read Between The Squiggles~
Report Abuse
Flash77 is not online. Flash77
Joined: 14 Jun 2008
Total Posts: 550
31 May 2012 06:06 PM
how do you use 16.7 milloin peices of data?
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 06:06 PM
I gave up. lol

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 06:07 PM
holy fudge. and i filled up that many in under a second.. double holy crap.

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
ServerLabs is not online. ServerLabs
Joined: 29 Dec 2010
Total Posts: 2263
31 May 2012 06:09 PM
How is a better question.
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
31 May 2012 06:14 PM
What where you doing to use that much??!?!?!?!??!?!

~Read Between The Squiggles~
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
31 May 2012 06:17 PM
trying to index every second, minute, hour and day and about 300 other values all at the same time.. not much :3

Saving for PSTF.. 13k/60k-ish :/
Report Abuse
agent767 is not online. agent767
Joined: 03 Nov 2008
Total Posts: 4181
31 May 2012 06:17 PM
technically it`s infinite.
But as soon as you run out of ram your script will error.
Report Abuse
agent767 is not online. agent767
Joined: 03 Nov 2008
Total Posts: 4181
31 May 2012 06:19 PM
Funny fact:
Yesterday I created a script to find that out...
I can store ~85 million values until the script errors
(http://www.roblox.com/RAM-test-place?id=33771483 gimme tix)
Report Abuse
agent767 is not online. agent767
Joined: 03 Nov 2008
Total Posts: 4181
31 May 2012 06:29 PM
nvm,1 table can hold up to 16-17 million values,but you can still create tables inside the table.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
31 May 2012 07:16 PM
Workin' on your Shuttle Thing?
Report Abuse
crazyman32 is not online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
31 May 2012 07:20 PM
They hold a lot.

The only time I ever got a memory error was when I tried to save terrain within a table.

So they hold less than like 16 million values.
Report Abuse
rp069 is not online. rp069
Joined: 22 Apr 2011
Total Posts: 6206
31 May 2012 08:58 PM
I would've thought table data could be infinite, as long as your computer and internet connection can support it
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
31 May 2012 09:00 PM
There's a limit in tables onto how much you can store!?
:O!
Thanks nick x3
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
31 May 2012 09:01 PM
They can hold a lot, but are limited by the amount of RAM your computer has.

That said, if you're storing more than 512 MB of data in any one table, you're doing something horribly wrong.
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
31 May 2012 09:04 PM
You are doing something wrong if you hit the limit, or are trying to solve a problem the wrong way.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image