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 » Scripters
Home Search
 

Re: Bad Allocation, causing me to lose hundreds of lines.

Previous Thread :: Next Thread 
someonedie is not online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
03 Nov 2017 01:40 PM
Hi, I was developing in studio and this bad allocation error came up. I don't know what this means but it prevents me from publishes and forcefully CRASHES when you try to save. How do I prevent this Bad Allocation error from popping up because this is the second time it happens and I'm losing too much valuable time and effort (up to 2 hours and 300+ lines worth of code).
Report Abuse
SinisterMemories is not online. SinisterMemories
Joined: 21 Mar 2013
Total Posts: 4892
03 Nov 2017 01:44 PM
Save the place locally to your PC then public update, if crashes then public update off the local save


attempt to index global 'soul' (a nil value)
Report Abuse
someonedie is not online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
03 Nov 2017 03:56 PM
Ok. Thank you for the advice, I hope they fix this though.
Report Abuse
0supadude0 is not online. 0supadude0
Joined: 11 Aug 2010
Total Posts: 649
03 Nov 2017 04:01 PM
Another advantage to working from a local directory is you can save quickly with ctrl+s. As with anything else it's a good idea to save religiously - I now tend to do it automatically after any tiny change :)
Report Abuse
sanjay2003 is not online. sanjay2003
Joined: 03 Nov 2012
Total Posts: 740
03 Nov 2017 04:02 PM
Save locally.

Two things are possibly happening here.
1). Roblox Studio is taking up too much RAM on your computer or
2). You're using bad practices in your code

Restart your system and open only Roblox studio.
Go to the place file.
Pull up "task manager" on windows.
Try to publish the place.
While doing so, check the RAM usage of the "Roblox Studio" application
on "Task Manager".




Report Abuse
someonedie is not online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
03 Nov 2017 04:04 PM
Bad practices?

Like codes that are too outrageous or other things? What you mean?

Because I know I've been testing TextService (for text filtering purposes) on studio to see if it worked (took me some minutes to realize it only works on running servers while I was spamming the Fa-Bomb) and I have been getting bad allocation ever sense, but idk.
Report Abuse
sanjay2003 is not online. sanjay2003
Joined: 03 Nov 2012
Total Posts: 740
03 Nov 2017 04:08 PM
Calling services incorrectly.
Firing events without thinking about efficiency.
List goes on.


Report Abuse
someonedie is not online. someonedie
Joined: 19 Mar 2011
Total Posts: 1710
03 Nov 2017 04:25 PM
Ok, it's probably me abusing TextService then. Lol
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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