You didn't say in which line this happens, so I'm guessing either line 42 or 43. What is the value of "n"? If it's -1 or equal to the length of "result" you're in trouble.
Ulf Dittmer wrote:You didn't say in which line this happens, so I'm guessing either line 42 or 43. What is the value of "n"? If it's -1 or equal to the length of "result" you're in trouble.
I dont really know, i got help on an irc and did this.
But it is still not working.
Im trying to get the first two lines of the memoryinfo thingy.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
I'm just noticing that lines 41 to 45 are not part of any method; it looks like they need to go between lines 12 and 13.
Frederik Bolding
Greenhorn
Joined: Jul 22, 2012
Posts: 5
posted
0
Okay that fixes the error.
But it still shows the whole meminfo instead of only output string?
Frederik Bolding
Greenhorn
Joined: Jul 22, 2012
Posts: 5
posted
0
Nevermind!
Thanks for the help!
/solved
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.