SRL Archive - S.M.A.R.T.

Disk Full ; Smart issue when loading script


KFCUNIT

2012-05-17 18:34:33


Any ideas/solutions?

Brandon

2012-05-17 18:44:28

Looks like a memory leak :S Either that or ur harddrive is full & u have bad ram. Happens for every script?

kevin33

2012-05-17 18:45:34

Im on teamviewer with him and no its just this one. Java 7 and it was running then the error pooped up and crashed the script. Any suggestion on a solution?

Tested another one and it works.

If I remember correctly it was 7.33 Gb Ram left on local disc out of 55.4 Gb or something around there.

KFCUNIT

2012-05-17 18:48:15

Harddrive isn't full, nor do I have bad ram. My other script is currently working.

Brandon

2012-05-17 18:50:57

By the looks of the photo your running Simba 984 so that's ruled out as it's pretty stabled. What version of Smart? Also you mention Java 7 but smart does not run in Java 7 properly. Java 7 does not even allow you to compile Smart due to the Canvas.Java so your better off on Java 6u32: http://www.oracle.com/technetwork/java/javase/downloads/jre-6u32-downloads-1594646.html

KFCUNIT

2012-05-17 18:53:51

From: Brandon
By the looks of the photo your running Simba 984 so that's ruled out as it's pretty stabled. What version of Smart? Also you mention Java 7 but smart does not run in Java 7 properly. Java 7 does not even allow you to compile Smart due to the Canvas.Java so your better off on Java 6u32: http://www.oracle.com/technetwork/java/javase/downloads/jre-6u32-downloads-1594646.html


Kyle's script didn't work for Java 6u32 for me either. Just spams a bunch of crap and doesn't even move.

Brandon

2012-05-17 18:59:09

From: KFCUNIT
Kyle's script didn't work for Java 6u32 for me either. Just spams a bunch of crap and doesn't even move.


That doesn't make any sense.. The script's behaviour doesn't depend on Java. Simba handles the scripts and sends the commands interpreted to smart which then does the action of the commands received.

Try the suggestion and it will not give you problems about Memory leaking. If the script doesn't run after that I can probably guide you from there based on the errors you post.

KFCUNIT

2012-05-17 19:02:05

-[DEBUG]- Searching for Object platform
-[DEBUG]- Checking for randoms
-[DEBUG]- Starting Object search
-[DEBUG]- Searching for Object - Nebula
-[DEBUG]- Checking for randoms
-[DEBUG]- Checking for randoms
-[DEBUG]- Checking for randoms
-[DEBUG]- Searching for Wizard
Wizard
58
31
12
7
1
-[DEBUG]- Searching for Object platform
-[DEBUG]- Checking for randoms
-[DEBUG]- Starting Object search
-[DEBUG]- Searching for Object - Nebula
-[DEBUG]- Checking for randoms
-[DEBUG]- Checking for randoms
-[DEBUG]- Checking for randoms
-[DEBUG]- Searching for Wizard
Wizard
58
31
12
7
1
-[DEBUG]- Searching for Object platform
-[DEBUG]- Checking for randoms
-[DEBUG]- Starting Object search
-[DEBUG]- Searching for Object - Nebula
-[DEBUG]- Checking for randoms


Spams that, I even put custom integers.

kevin33

2012-05-17 19:08:59

Yea I can second that. Ive witnessed it do this. Its ironic that it works with java 7 (shouldnt) but doesnt with java 6. Ask any question and we will answer about what goes on with the script. Anything you need to know to help fix the problem. Also try what my pm says KFC, maybe itll help.

KFCUNIT

2012-05-17 19:19:07

From: kevin33
Yea I can second that. Ive witnessed it do this. Its ironic that it works with java 7 (shouldnt) but doesnt with java 6. Ask any question and we will answer about what goes on with the script. Anything you need to know to help fix the problem. Also try what my pm says KFC, maybe itll help.


I currently need java 7 to run other things that are important to me on the computer.

Brandon

2012-05-17 19:25:31

From: KFCUNIT
I currently need java 7 to run other things that are important to me on the computer.


As do I considering I develop in various languages. Unfortunately Smart's internals would have to be re-written to support Java 7's Canvas class and I doubt! that's happening any time soon..

Anyway I just looked through the script. I do not see anywhere that it would print those values. Do you have any idea what it's printing? The script doesn't exactly use a blatant writeln. It tends to use a Debug which is passed '~Debug~ Message Here'.

So those values, 58 7, 1 whatever else, isn't from the script. Maybe it is but I just went through the entire script and none are found in a print function. If you know what values these are, let me know. If not then I can probably team viewer with u atm I guess. Just Pm me if ur ready.

KFCUNIT

2012-05-17 19:39:13

Sending you a PM

BenLand100

2012-05-18 10:27:42

This has nothing to do with SMART.

Kyle Undefined

2012-05-18 10:39:05

I don't know why debugging would have a memory leak though, it could be the DebugATPA that gets called about every 2 minutes.

I'll look into this, thanks!