| |
| |
| |
|
Page: 1 2 3
Comments:
<0> it's using gnujax.jar file as a library <0> clackwell the original problem is that i parse an xml file using the documentbuilder cl*** and the memory is not released <0> so if i parse it 100 times, it takes 100 times the memory <1> Creative1: test case? <1> (you knew i'd ask for that, right?) <2> This may be a dumb question, but are you creating a new instance of the DocumentBuilder each time? <1> Resonator: ;) <2> Or reusing the DocumentBuilder with each successive XML parse...
<1> "of course not, i am not st...uhm, actually, let me look...ah, ok, that was ist..." <1> -s <2> hehe :) <1> another day on irc...;) <3> a hundred times should stlil not cause it to barf <2> I agree, but it's still something to bear in mind. No use creating a new instance of something 100 times when 1 instance is all that is needed. <3> haha <3> unless of course it's 100 times for thounsands of docs <0> resonator, you said it <0> it's a dumb question :P <0> static { <0> try { <0> DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); <2> Never hurts to check. :) <2> OK, just making sure! hehe <1> Creative1: What is a test case? Why would you write one? See http://javafaq.mine.nu/lookup?22 (to show what you are *really* doing) Paste test case and any error messages to http://papernapkin.org/pastebin or another pastebin <0> clack, im pasting there :) <0> give me a minute <4> hi, can you provide an example how to "design for an extension"? (i'm getting warning from CheckStyle plug-in in Eclipse) <0> http://papernapkin.org/pastebin/app/view/564 <0> there you go <0> i construct that cl*** 1000 times with the same file, and of course i close the file each time and etc <0> do you see anything wrong on that code? <3> just out of curiosity...why the static code? <1> perhaps just for the test case, or maybe it is a one time shot <0> it's one time shot
<0> i only need it once <0> eitherway, you can put it into if not null etc condition, it will still happen <0> i put it like that to proof that it's only instanceated once <1> hm. i ***ume that won't compile for me. <0> remove the IXMLInputStream interface <0> everything else should be standard <1> in java.lang? <1> and what document do i parse? <0> what i don't know it's how on earth it loads the gnujax.jar file <0> i don't see a reference anywhere in the code <0> and documentbuilderfactory has hardcoded values <1> gnujax.jar? never seen it in the jre/jdk. <0> nah, i think i made my point, the code is good <1> Creative1: it is? <0> if there is a memory leak it has to be on the jax library <1> fets: nope, man. <1> hahah <0> it can't be on those lines <1> it started like this: <1> <fets> Hello. I am doing a project for the University. And i need some help regarding Connectivity of my SQL Database and the website. I am "building" a DVD Club <2> lol <3> haha he left when i asked for money <1> it went over to freenode's ##java, like this: <fets__> Hello. I have some basic steps to connect my website with the SQL Databases i built. The "documentation" provides help on Connectivity with NetBeans and Connectivity via SQL SERVER 2005(or less). Can anyone help me with any of these ways? <3> ah crap i forgot to do status again! <1> haha, now there's whining about abusing fets like that on freenode, woohoo, i love irc. :) <3> probably other homework seekers <1> yeah, those are typically the first to flag sympathy for the abused, true. <3> man some programmers put every little detail on status reports to make it look like they really did something <3> what a joke <1> or maybe sometimes they don't quite recall where all that time went, but spent it on the project anyway. <3> ah yeah i forgot that i changed that wording on that string...let me put that in there
Return to
#java or Go to some related
logs:
#london j2re >= 1.4.1 is needed by LimeWire-free #MissKitten #chatzone #linux #AllNiteCafe #MissKitten de facut buti pt undernet LCD dumb terminal
three dollar bill cliton
|
|