@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> hi
<0> why would i get a message like there is no more space on heap?
<1> hmm, because you ran out of memory? whats the exact error message?
<0> MbGone: any paste bin to paste my code?
<1> i dont think it will be needed, have you tried specifing the -Xmx option to the jvm?
<0> MbGone: i am using eclipse, not compiling from cmd line
<2> that doesn't make a difference
<1> well, its not compiling time argument but a runtime argument... and i am sure you can tell eclipse which argument to p*** to the jvm
<2> ide's are also using the plain java compiler and as such (should) also allow to specify specific options.
<0> searching..
<0> i have this arguments
<0> -Djava.library.path=lib/
<1> newbea - http://dev.eclipse.org/newslists/news.eclipse.technology/msg00142.html
<1> hi Lion-O btw :P
<2> MbGone: hola ;-)



<2> and so the weekend finally starts :)
<0> i cant believe how this code uses all the heap even after its executed
<1> yea indeed, although still need to do some work tomorrow :(
<2> MbGone: blech.. None of that for me. I'm looking forward to a tasty dinner, relaxing evening and no further special plans 8)
<1> newbea - well, a profiler can help you answer this question
<0> can i show my code to you?
<1> newbea - well, paste it, i'll have a look at it but i wouldnt count on finding anytning just by looking at the code (unless its something very obvious)
<0> paste here?
<1> Lion-O - the problematic thing, is that the work i need to do is write an upgrade document :( i hate writing documents
<1> newbea - nope, see the topic ...
<0> you mean the upload file option?
<2> newbea: still, MbGone is quite right. You need a profiler.
<2> And well, not to fuel up another discussion but the only one I'm familiar with which works decently well is the profile pack in netbeans :P
<1> lol
<1> we have jprofiler at work amd its quite nice, but its commercial
<2> well, then again; se6 has jconsole now iirc.
<0> MbGone: http://pastebin.com/851994
<0> its here
<0> i was just testing the code frequently and then the computer got slower and slower, then it said something like it cant create an object because heap is full
<0> any ideas?
<1> newbea - what do you mean testing the code frequently? have you restarted the application over and over?
<0> yes ofcourse? shoudlnt i?
<1> well
<0> i was changing some parameters and running it again
<1> i am guessing that the jvm didnt die
<1> check your taskmanager see if you have java process there
<0> i needed to restart the computer
<0> but i can do it again
<0> but after the execution why are the objects still in the heap!?
<1> you dont need to do it many times, do it only twice and check your taskmanager
<0> ok shecking
<0> there is an aplication named jawaw.exe
<0> which is still runnign
<1> just as i thought
<1> you probably need to tell the player to quit
<0> ?
<0> so what does jvm do then, =)
<2> run your program.
<0> well maybe it will require this from me another day, =)
<2> and indeed, I can see a sequencer.start() but no stop.
<2> and it pays to actually read the API docs. THis is documented behaviour.
<0> ugh
<2> "If the playback position reaches the loop end point, and the loop count is greater than 0, playback will resume at the loop start point for the number of repetitions set with setLoopCount. After that, or if the loop count is 0, playback will continue to play to the end of the sequence."
<2> I'm just skimming it but it looks to me as if you didn't tell it to stop.
<0> well i have a very good reference which doesnt use stop
<0> a book of o'reily s have a few codes which doesnt have any stop
<2> No reference can be as good as the official documentation :P besides; make sure that you're not taking stuff out of context.
<0> Lion-O:i put a player.stop(); line and now it doesnt run properly
<0> i dont get any sound
<1> newbea - you need to add a listener which will tell you when the track is finished
<1> and only then tell the player to stop
<3> i am reading on windowstatelisteners etc. I need to ask somthing if i want to to be done in form2 if a certain button is pressed in form1 what should i use to detect it
<0> ok guys thanks, i ll work on it
<4> Hi all
<1> FAIR_MUTEX - you need to implement the ActionListener - http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Button.html
<3> ok
<1> evening Jayne
<3> but since the button is in another frame can i still listen to it from another frame ?
<1> sure
<3> cool :)
<3> am starting to like java :P



<1> hehe
<3> cause this means that code saperation in the gui is possible
<1> everything is possible in java :P (with alittle help from other languages..) :)
<1> that was a good dinner :)
<5> ola
<2> Rob_uknow: aloha! ;-)
<1> hey Rob_uknow
<5> does anyone experienced problems enabling netbios over tcp/ip on winxp?
<5> if I enable it all file actions are 'delayed' it takes a while to open a file, get a context menu when right clicking a file
<5> copy/paste/delete
<5> happens for local files
<1> mever happend to me
<2> hmm. I'm not using xp all that often but when I do I don't experience that. Could it be due to some virus scanner ?
<5> no
<5> I de-installed the virus scanner
<5> the problem remained
<2> Rob_uknow: gotcha.
<5> even rebooted after deinstallation
<5> I think its some service pack 2 thing
<1> Rob_uknow - do you have a wins server configured?
<5> no
<1> hmm, i think you need a wins server for it work correctly... otherwise netbios wont be able to resolve computer names and that might cause timeouts
<5> its at default settings
<6> evenin'
<5> Clackwell
<6> Rob_uknow: running process explorer, does cpu load spike while waiting for the context menu to show up? if so, which process ****s the cpu cycles?
<1> hey Clackwell
<5> no spikes
<5> 5-12%
<6> Rob_uknow: what is listed under HKEY_CL***ES_ROOT\*\shellex\ContextMenuHandlers ?
<5> a while lost
<5> whole
<6> Rob_uknow: huh?
<6> Rob_uknow: http://papernapkin.org/pastebin/resources/wicket.Application/imageResource?imageEntryId=3958
<5> my wireless mouse is dead
<6> bwahaha
<6> ran out of power?
<5> works again
<5> hm
<5> time to replace the batteries
<5> anyways
<5> should I see something there?
<6> Rob_uknow: which entries are there? possibly disable some or all non standard ones.
<6> this ***umes that one of the extensions is causing the issue.
<6> Rob_uknow: http://www.helpwithwindows.com/techfiles/explorer-crashes.html
<6> http://www.nirsoft.net/utils/shexview.html
<6> http://windowsxp.mvps.org/slowrightclick.htm
<7> I use a hashmap as a field in a jframe, when I click the menu the hashmap is sent to the constructor of a jpanel where it's modified... when I click another menuItem the current JPanel is removed and another one is created having as parameter the hashmap... the problem is that even if my hashmap is modified in the first jpanel, in the second it's empty
<6> test case?
<7> none, too lazy to create them... but... I put lots of System.out.println to see what's going on...
<8> yeah.. yeah, that is easier.. </sarcasm>
<1> heh
<9> make sure there is always a reference to your hasmap or it may be garbage collected
<6> alien08o8: if there isn't you won't notice.
<7> problem solved... took another look at the code... and saw a duplicate setter for my hashmap... (noob me)
<6> :)
<7> I've set a hashmap, used it in the jpanel, and at the end of the method I've set the hashmap again with an empty one... ;;) ( thanks for the <sarcasm> wlfshmn, it's useful sometimes and now it was )
<8> damnit, I helped even when I didn't intend to..
<8> now I'm going to have to avoid helping one when I normally would have, just to balance out
<5> re
<5> had a phone call
<6> Rob_uknow: what kind of cheap *** excuse is that, HM?!
<5> not really, I was called, and I was too late, so had to call back
<5> 36 minutes on mobile isn't cheap
<6> ;)
<5> I disabled all context menu handlers
<5> no luck
<6> Rob_uknow: did you reboot after you did that?
<5> no
<6> http://windowsxp.mvps.org/rcdelay.htm
<5> there are definatly open commands that look for stuff on the network
<5> like photoshop


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

FileUploadException Stream ended unexpectedly
stringstream char array
#teens
DarkNightsScript
#linux
girlofbrazil
#AllNiteCafe
#linux
itfani
maider en chino



Home  |  disclaimer  |  contact  |  submit quotes