Need some help. Anyone out there know of a why to force ColdFusion to release memory back to the JVM?
The situtation is that I have a conversion script that creates a bunch of objects to pull data from one database to another. The memory keeps spiking after a 1000 or so inserts and i’ve tried everything to get to do garbage collection and release the memory back to the jvm.
Things i’ve tried
Invoking garbage collection with java.lang.system
<cfset loc.sys = createobject(“java”, “java.lang.System”)>
setting the objects to javacast(“null”, “”)
Invoking garbage collection with java.lang.runtime
<cfset loc.sys = createobject(“java”, “java.lang.runtime”).getruntime()>
I’ve even tried using java.lang.ref.SoftReference
Plus a combination of all the above!!!!
Nothing I seem to do want to make the jvm run the garbage collection and release the memory.
If anyone has an itelligent suggestion, leave it here. I’m at my whits end!!!
BTW please don’t say to use queries or split up the job. That’s not an answer I’m even looking for.
In case you haven’t read the annoucement on the jQuery blog, jQuery has been choosen as the official framework for ASP.Net.
This is major. With Microsoft now fully behind jQuery and putting it into Visual Studio, this will only make the framework more accepted and gain more ground.
Also Microsoft will not get any special treatment from the core team (thank god). Usually when a big player like Microsoft adopts something, their influence chooses the path the project takes.
The best part has to be that since ASP.Net has such a huge development base, this will only make finding bugs and improving the framework that much easier. Not to mention the slew of plugins that will come out from some the awesom talent that the community holds.
.-'\ \:. \ |:. \ /::' \ __/:::. \ _.-'-.'` `'.-'`'._\-"`";.-'-, .`; : : : : : `. / : : : : \ / :/\ : /\ : : \ ; : /\ \ : : /\ \ : ; . : / \ \ / \ \ . ; /_)__\ \ : :/_)__\ \ : ; ; `-----`' : , :`-----`' ; | : : / \ : : | | / \ \ : : | | : : /___\ \: : | | : : `----`' : | ; |;-.,__ : : __.-'| : ; ; : || \ \``/'---'\`\` / || ; . : \\ \_\/ \_\/ // ' . ; \'._ /\ /\ _.-'/ : ; \ : `._`'-/ /\._./ /\ .' : / `\ : `-.\/__\__\/_.;' : /` jgs `\ ' : : : : /` `-`.__` : :__.'-` `-..`.__.'..-` artwork
Art work from Joan Stark
First a live stream from the LHC webcams!!!!
The funniest comments evar!!!!
Quick note for others and so I don’t forget.
If you’re behind a proxy (like I am) and try to do a git-clone using the git:// protocol, surely it will fail if you’re firewall is restrictive. The beautiful thing is, you can use http:// protocol instead to get around this restriction.
git clone git://github.com/jcnetdev/yubnub.git
However that will fail. Instead do:
git clone http://github.com/jcnetdev/yubnub.git
The only other gotcha is that you might need to setup your proxy in your environment. To do this, simply do:
username = your network username (someuser)
password = your network password (somepassword)
proxy_ip = the ip address of your proxy server (192.168.1.1)
proxy_port = the port number for the proxy (80)
the full string would look like this:
Today Ron Paul basically gave the middle finger to both McCain and Obama and told the country to embrace third party candidates. After digesting the conference and kicking the thoughts around in my head, I’ve come to conclusion that the whole thing was a big waste of time and a huge disappointment.
Now this is coming from a loyal Paulster (hell I even still have the campaign bumper stickers on my car), so this is not some Ron Paul basher just ranting.
Why is it that I feel this way about the whole announcement? Well the plain fact is that there are four third parties that Paul was presenting to the American people when it should have only have been one. I don’t see the logic in telling the American people to support third party candidates and then splitting that support amongst four parties.
If we truly want a three party system, then the third party campaigns need to come together and join forces. Let’s face facts: in this election they’re not going to be getting a slew of votes since most of the parties aren’t on every state’s ballot. However by join forces, they will have enough signatures to get on all the states. Coupled with the fact that an announcement where the third parties are joining forces and getting behind a single campaign would give them the media coverage they deserve to draw interest in their views.
Was today a good start? Not really. First impressions are lasting ones. By not really thinking everything through I firmly believe that once again something that could have been great, failed miserably.
I would have loved for today’s announcement to be that Ron Paul was running as a third party candidate with Baldwin as the VP. Hearing some of Baldwin’s talks I feel that this man knows what he’s doing and has a great plan to put this country back on track. Sure there would be the period of hurt, but who said that “change” doesn’t hurt?
Again, the third party candidates need to come together if they’re even going to stand a chance or be taken seriously come November.
As Hurricane Ike approaches, we Floridians need to answer one basic question… should we use a petroleum or water based lubricant.
Good luck Florida!!!!
These events take place on Sept 2, 2008 between 8:31a.m. – 8:41a.m.
me: Charles, help me. I’m being held hostage by a group of midgets with pin-wheels. It’s some freaky shit. They demand coleslaw.
Charles: Be strong brother! There is no more coleslaw so hopefully a toothebrush and dental floss will do.
me: Dude, you don’t understand. They’re making me watch the Wizard of OZ and participate in sing-a-longs. I’ll try to hold on! Somewhere over the rainbow…
Charles: I’ll call the tin man for backup.
This has taken me DAYS to get working and finally i got it. Here are the steps:
Next is to READ AND FOLLOW the instructions for setting up Git during the install. The instruction are at the bottom of the page entitled “Install Cygwin”.
After the installation you will need to run “ash rebaseall” from the cygwin\bin directory in a command line in order to update Git-SVN. So open a command prompt (START -> RUN -> CMD) and type in cd\cygwin\bin (or whatever your cygwin installation folder is) and run “ash rebaseall”.
Hopefully this help someone out there