In Python there is a recursion depth. Seems it is because Python is an interpreter, not a compiler. Does C++ have the same concept? Or it only connected with RAM limit?
What is the best way to override jre_lib classes?
Let's say I need to store all ArrayLists not in RAM but on disk or anywhere else. I wanna write my own ArrayList class to code this functionality and make sure that every instantiations of ArrayList use my class.
I thought about class loading mechanism to change order of classpath, but as I see java checks standard classes first.
Running Eclipse 3.5.1, JDK 1.6.0_17 on WinXP SP3 32Bit with 3.5 gigs of RAM.
I'm aware of the known Eclipse best practices, still trying to figure out eclipse.ini.
This will launch: -Xmx588m and this won't: -Xmx589m.
Same with -XX:MaxPermSize. Anything above -XX:MaxPermSize=140m won't launch.
The screen of death is simlar to this (taken from here).
Any ideas on why might this be happening?
Hello,
I am trying to access a Linux system's NOR flash memory. I tried use __raw_readl(xxxxx) (through io_p2v) to read NOR memory data, but I failed.
Is there any way I can access that memory?
Will driver /dev/mem work for this? I guess not. it is only for the RAM maybe.
Can anyone help?
function ram(){
document.write("Hello World!")
alert("ok");
}
India
Autralia
England
Ameriaca
Pakistan
In this above code the event will not fire for combo box ..i try by using focus and click event....i can i do this....and i want 1 more thing if i select combo box value as India,i want to create a combo box with state(elements are TN,DL..) updation...
Now we have a firebird database with 1.000.000 that must be processed after ALL are loaded in RAM memory. To get all of those we must extract data using (select * first 1000 ...) for 8 hours. What is the solution for this?
Is there a program out there or some other thing that will run some kind of virtualization for me or something, to test the hardware minimums for a program I write? Something I can do locally without install testing on, say, a 33 mhz 64kb ram IBM or something
We have eight Xeon (i7) cores and 16 gig of RAM on our SSIS box. We have about 200 image files we want to convert using a command line utility every day. Currently the process is using Adobe Photoshop and droplets (very manual, taking upwards of two hours a day)
Using SSIS hot folders, is there a way to execute up to eight conversions at once?
Is there any way to tell a process completed or execute code upon it's completion?
When I try to initialize a 3D array of size 300*300*4 in a C program, my program stops running and reports stack overflow error. The system I am using has 3GB RAM, which should be sufficeint. Is there any way to increase memory allocated to a program? I am using Dev C++ on Windows Vista.
I have downloaded ics 4.0.3 source code, want to modify native settings, what i have to do is
1) add custom modifications to the settings
2) recompile native settings with added modifications
3) build the source code
4) generate a customized build to work on all android devices.
How can I achieve the above thing?
Every suggestion is appreciated.
Thanks in advance.
FYI: Using win7,4gb ram, intel i5 processor. Installed cygwin,git.
Hi,
I'm considering to use WPF for an application running on an iX104 (unfortunately I don't have one of those yet).
Do you guys think that this combination would be efficient enough? Or is WPF just to slow for such a machine, so better stick with WinForms?
Relevant specs of the iX104:
Intel Pentium U2500 CoreDuo 2x 1.2 GHz
1 GB RAM, optional 2 GB
10.4" TFT, XGA 1024x768
Regards,
Kasimier
Do you know how to make it more stable, maybe properties to set, memory to allocate?
It always hangs up when redeploying web apps, thru manager (wars), web interface or maven plugin.
every second time it gives PermGenSpace, no memory errors etc.
on my local machine 3gb ram.
It looks like it should be manually set up to work in a stable way.
How to fix such a problem?
Tried to find the answer, but still couldn't.. The table is as follows:
id, keyword, value
1 display 15.6
1 harddrive 320
1 ram 3
So what i need is something like this.. Select an id from this table where (keyword="display" and value="15.6") AND (keyword="harddrive" and value="320")
There's also a possibility that there will be 3 or 4 such keyword conditions which should result into returning one id (one row)
It seems there's something to deal with UNION but i didn't use it before so i can't figure it out
Thanks in advance
I know this has something to do with Instruments, but well it's kind of confusing and searching for Instruments on Google doesn't help much.
I'd like to know how well my app runs, like how much memory it uses. I just don't know where to find something like:
"As close as we can tell from the simulator you'll app will currently be using xx MBs of RAM on a real iphone device."
I need help on how to get this information.
I only have 512MB RAM and found out that MSVC++ 2010 Express ran hellishly slow, so I uninstalled it. Assuming same for MSVC#.
I'm planning to learn C# over the summer with the book "Pro C# and the .NET 4 platform". So I'm wondering if I can use the 2008 version?
I am aware of some the obvious gains of the x64 architecture (higher addressable RAM addresses, ect)... but:
What if my program has no real need to run in native 64 bit mode. Should I port it anyway?
Are there any foreseeable deadlines for ending 32 bit support?
Would my application run faster / better / more secure as native x64 code?
I want to copy a large a ram-based file (located at /dev/shm direcotry) to local disk, is there some way for an efficient copy instead of read char one by one or create another piece memory? I can use only C language here. Is there anyway that I can put the memory file directly to disk? Thanks!
I have a bitmap and I want to scale it up to fill an ImageView and overlay the unscaled version of the bitmap on top.
Which would be cheaper (in terms of memory and processor usage)?
Using two ImageViews, one for each version of the bitmap
Using a canvas and drawing on the singular bitmap, using one ImageView
I saw this question about ImageView vs Canvas, but it doesn't address memory/processor concerns. My intuition says two ImageViews may use more RAM, while using a canvas would use more processing power while the drawing occurs.
In C++ is there a predefined library function that will return the size of RAM currently available on a computer a program is being run on, at run-time?
For instance, if an object is 4bytes, then can we divide the available virtual memory by 4 bytes to give an estimate of how many more objects could be stored by the program safely?
I have used the sizeof() function to return the size of objects within my program.
Thanks
$fp_src=fopen('file','r');
$filter = stream_filter_prepend($fp_src, 'convert.iconv.ISO-8859-1/UTF-8');
while(fread($fp_src,4096)){
++$count;
if($count%1000==0) print ftell($fp_src)."\n";
}
When I run this the script ends up consuming ~ 200 MB of RAM after going through just 35MB of the file.
Running it without the stream_filter zips right through with a constant memory footprint of ~10 MB.
What gives?
I'm trying to make a script that will place a list (in a .csv file) of processes that are running that take up more than 10 mb of RAM and shows the time + date the script was run. My teacher did this during his lecture but I can't remember how he did it. Just trying to figure out how to be better at IT.
So my question is, can anyone help me with this? I don't even know where to start.
I was looking at AppFog's Pricing and they appear to be giving 2GB of ram away for free, to nonpaying customers. This seems unprecedented for PAAS provodes--providers like Heroku and App Engine remove the app from memory if it has been inactive for certain amount of time. Does cloudfoundry work similarly? Am I wrong in assuming that in a few years appfog servers will be filled with inactive non paying applications?