has anybody found a library that works well with large spreadsheets?
I've tried apache's POI but it fails miserably working with large files - both reading and writing. It uses massive amounts of memory leaving you needing a supercomputer to parse or create a 20+mb spreadsheet.
Surely there is a more memory efficient way and someone has written…
I build a very large POI workbook, on my web server. Holding the entire memory in workbook , will not scale for multiple concurrent requests. Is there a way i can progressively write the workbook to the servlet output stream. That should reduce the response time , as well as make the process memory efficient.
I'm trying to make a basic application that displays an image from the camera, but I when I try to load the .jpg in from the sdcard with BitmapFactory.decodeFile, it returns null.
It doesn't give an out of memory error which I find strange, but the exact same code works fine on smaller images.
How does the generic gallery display huge pictures…
In non-ARC code retained properties handily take care of memory management for you using the self.property = syntax, so we were taught to use them for practically everything.
But now with ARC this memory management is no longer an issue, so does the reason for using properties evaporate? is there still any good reason (obviously other than…
Where are functions stored in a C++ program?
For example
int abc()
{
//where am I stored?
}
I know that we can take the address of a function, that means functions are stored somewhere in memory. But I have already read at many places that no memory allocation for functions takes place.
I am confused. My question may seem vague to…
The instruction at "0x10022662" referenced to a memory at "0x10022662". The required data was not placed into memory because of an I/O error status of "0xc000026e". click ok to terminate the program
Can any one tell me what and why does this error occur?
I have a dialog. Every time I create it and then dispose, it stays in memory.
It seems to be a memory leak somewhere, but I can't figure it out.
Do you have any ideas? See the screenshot of heap dump for more information.
Thanks in advance.
http://img441.imageshack.us/img441/5764/leak.png
I'm debugging a program with GDB.
unsigned int example = ~0;
gives me:
(gdb) x/4bt example
0xffd99788: 10101000 10010111 11011001 11111111
why is this not all 1's? i defined it as ~0... then the next line of code is:
example>>=(31);
and GDB gives me this when I try to examine the memory at bits:
…
Using InsertOnSubmit seems to have some memory overhead.
I have a System.Data.Linq.Table<User> table. When I do table.InsertOnSubmit(user) and then int count = table.Count(), the memory usage of my application increases by roughly the size of the User table, but the count is the number of items before user was inserted. So I'm…
I have a program that crashes (attempting to read a bad memory address) while running the "release" version but does not report any problems while running the "debug" version in the visual studio debugger.
When the program crashes the OS asks if I'd like to open up the debugger, and if I say yes then I see an arrow pointing to where…
My entire source code base is < 20MB.
I want it all loaded in memory in the background. So that when I do vimgrep */.cpp */.cxx */.hpp , it doesn't ahve to do file IO since vim has loaded all the files into memory already.
How can I achieve this?
Thakns!
By what i understand String and StringBuilder objects both allocate contiguous memory underneath.
My program runs for days buffering several output in a String object. This sometimes cause outofmemoryexception which i think is because of non availability of contiguous memory. my string size can go upto 100MBs and i m concatenating…
Hi,
I am using C# and I am having trouble loading large files into a binary field use byte arrays.
Basically, if I load a file that is too large, I get memory problems.
Is there a way to load a file into a binary field without using large amounts of ram, i.e. avoid loading the file into memory first?
If it helps, I am using…
It looks like Android won't natively support in-app purchases for a while, and when it does there might be a huge user base with devices that don't support them.
What's the best way to implement iPhone-like (additional content or services) in-app purchases in Android using the Android Market if possible?
The solution should…
I'm working on an iOS app and I'm using the following code for one of my tables to return the number of rows in a particular section:
return [[kSettings arrayForKey:@"views"] count];
Is there any other way to write that line of code so that it is more memory efficient?
EDIT:
kSettings = NSUserDefaults standardUserDefaults.…
1- How does this work:
char *ptr = "hi";
Now the compiler will put this string in the memory (I'm guessing the stack), and create a pointer to it? Is this is how it works?
2- Also if it is created locally in a function, when the function returns will the memory occupied by the string be freed?
3- Last but not least, why…
i read that upon session.flush()
The
data will be synchronized (but not committed) when session.flush() is called
what is synchronized with what..
whether it is DB state that will come to memory by querying or
memory state will be copied to Db ?
clarify this plz..
What happens to a dataset when your done using it. For example if I create and fill a dataset for a grid, when the user leaves that page or logs out I assume the dataset is still in memory?
Does each user get their own instance of the dataset? In other words, if 2 users hit the same page that uses a grid are they each…
Hi all,
I have 5 physical servers with low end memory & cpu resources. I want to create 1 cluster using all these servers and want to run mysql db on the same such that mysql db would utilize 5 server's CPU power to execute db queries & same for memory. Could you please help me understanding how to achieve…
When I view my app's memory in the xcode memory tool, i see that something called QuartzCore is reported as leaking many times. Each leak ranges from 16-80 bytes.
My code is not referencing this. it's all from withing UIApplicationMain(). So I'm not sure how to control this. Any ideas?
Thank you.
Does anyone know of a memory efficient way to generate very large xml files (e.g. 100-500 MiB) in Python?
I've been utilizing lxml, but memory usage is through the roof.
Hi,
I Want to load Image size 2550X3300 (i.e 1.7 Mb size),
i have loaded the image into UIImageView and application gets crash due to low memory,
Now i have loaded into uiWebview it works fine but i have to save this image into an PDF file in local resource. While iam saving UIImage in background same app gets…
So I want to build a try method into my powershell script below. If I am denied access to a server, I want it to skip that server. Please help..
[code]$Computers = "server1", "server2"
Get-WmiObject Win32_LogicalMemoryConfiguration -Computer $Computers | Select-Object `
@{n='Server';e={ $_.__SERVER }}, `…