Hi. I'm having trouble with my java app on the database side of things. It uses connectorJ to communicate with a mysql dbase and works perfectly fine locally. When communicating with a remote dbase, it performs dismally. It's takes ages to start and windows that are supposed to open to display dbase data just say 'Exception in thread "...
Our solution has a DB project for versioning DB structure. Whenever I open any SQL files in it, it is an absolute pain to edit it. Every keystroke takes literally 2 seconds to be executed (during which some thread in VS takes up 100% of the CPU core it is using). My machine is a fairly decent Intel Core2 Duo E6500 with 2GB of RAM, and no...
I've tried searching for this but it's pretty difficult to put into words.
Basically, our site will run fine for most users without any issues. Sometimes though, those of us who use the site pretty heavily all day will suddenly get completely bogged down. Everything just spins in place. The site itself is still fine - everyone else c...
Hello,
I'm using Visual Studio 2008 (with the latest service pack)
I also have ReSharper 4.5 installed.
ReSharper Code analysis/ scan is turned off.
OS: Windows 7 Enterprise Edition
It takes me a long time (2 minutes) to run the debugger, compiler, and if I save a file in my app_code folder it locks up for 2 minutes.
I have 12 Gb of r...
I have a very large C# .net 2.0 winforms application which has some drawing issues.
When going into different forms you can see controls being drawn and even the title bar of the form being resized and then disappearing.
The base form that all other forms inherit from has the following code in its constructor. Including setting DoubleB...
Hello,
I have a for loop and what I do is this.
forloop ( loop 7000 times)
{
x += 2000_char_long_string;
}
Code lasts really long time in this forloop, maybe more than 1 minute. How can I solve this problem?
Thanks.
...
I wrote a program that uses xcopy to transfer files (usually between 1KB and 2MB) over our intranet. Usually, I am copying files from my host machine (Windows 7 x64) to a VMWare virtual machine running Windows Server 2008 (the VM is running on my host machine, if that matters).
On Windows XP, the file transfers usually only require a fe...
I'm using getaddrinfo to do DNS queries from C++ on Windows. I used to use the Windows API DnsQuery and that worked fine, but when adding IPv6 support to my software I switched to getaddrinfo. Since then, I've seen the following:
My problem is that some times getaddrinfo take very long time to complete. The typical response from getaddr...
The following query is pretty simple. It selects the last 20 records from a messages table for use in a paging scenario. The first time this query is run, it takes from 15 to 30 seconds. Subsequent runs take less than a second (I expect some caching is involved). I am trying to determine why the first time takes so long.
Here's the quer...
Hello,
ich want to slow down the loading of a website (local websever) to a predefined speed.
Any idea?
...
I am trying to create datagridview connected to sqlserver.
But it seems that even in simple datagridview cannot handle quickly millions
of rows. And so scrolled to upper rows datagridview updates noticably
faster, that scrolled down to last row.
The effect can be seen:
Public Class Form1
Private Sub Form1_Load(ByVal sender As O...
I ported one of my mac applications to the iphone. WOW!!! is it slow! At first I started thinking maybe I was doing a lot of disk access. But as I started looking I realized I simply do an offset read of a binary file. I only read in about 512 bytes of data. I also have an array that is huge. Maybe 2MB. But why would that be slow?...
I want to know how I can optimize it, preferably without changes in tables structure.
SELECT p.author_id member_id,
m.members_display_name member_name,
COUNT(p.pid) posts
FROM forum_topics t
STRAIGHT_JOIN forum_posts p
STRAIGHT_JOIN forum_members m
WHERE p.author_id != 0
AND p.author_id = m.member_id
...
I have an app that is similar to a chat application. It also creates hyperlinks in many situations, which are added to the inlines of a TextBlock.
The problem is, once I reach a few dozen hyperlinks, the mouseovers become horribly slow! It takes several seconds to change colour, and CPU usage shoots to 100%.
I tested this out with a v...
I have a news application that gets the content from a xml stream-
to every news entry belongs a picture.. which one i display in a table cell..
it loads all the content, but it looks like the image in the cells slows the whole scrolling down ..
any advice??
thanks in advance
swisschris
...
Hi!
I have a JTree with about 100000 nodes or more. Now I want to expand the whole tree. To do so I use the solution I found here.
My problem is that expanding such a large tree takes like 60 seconds or more, which is not very convenient. Does anyone have any suggestions how I could speed up expansion?
Thanks in advance...
...
I have a MySQL database that I'm porting to PostgreSQL (because of GIS features).
Many of the tables have hundreds of thousands of rows, so I need to keep performance in mind.
My problem is that PostgreSQL seems abysmally slow...
For example, if I do a simple SELECT * FROM [table] on a particular table in the MySQL database, let's say...
Hi,
I'm working on a rails project and I experienced that the response to ajax calls are slow in both development and production. Response comes around 8 sec. I observed also that i have some actions that has a response time around 80ms. The difference in the two acitions is that the slower was rendered using render :update do |page| .....
In a number of situations as a programmer, I've found that my compile times are slower than I would like, and I want to understand the reason and fix them. Particular language (yes, I'm using C/C++) tricks have already been discussed, and we apply many of them. I've also seen this question and realize it's related. What I'm more interes...
Does anybody know why could cURL under php5 be so damn slow to fail even at 45s timeout, downloading a few kb file on a speedO'light server?
The code is here as requested (although I upped the timeouts even more for the script not to fail during execution and changed useragent to Mozilla/4.0 from initial Chrome):
$ch = curl_init('http:...