Hi,
Is there a limit of stack size of a process in linux? Or it depends on the RAM of the machine?
I asked because I want to know how many deep of recursive I can call?
Thank you.
I want to calculate the heap usage for my app. I would like to get a procent value of Heap size.
How do I calculate the procent value in code for the current running app?
Hi,
I'd like to create a pdf/ps/eps that contains only one single formula.
I thought the easiest way would be to use latex.
Unfortunately, I found no option to specify, that the paper-size should automatically be set to fit the contents.
I found that dvipng has a "-T tight" option, that actually does the trick, but...
I want it in vector-graphics format.
Any suggestions?
Thanks.
Hi all,
I am creating a very simple, very large Postgresql database. The database will have around 10 billion rows, which means I am looking at partitioning it into several tables. However, I can't find any information on how many partitions we should break it into.
I don't know what type of queries to expect as of yet, so it won't be possible to come up with a perfect partitioning scheme, but are there any rules of thumb for partition size?
Cheers,
Adrian.
How do you detect the application heap size available to an Android app?
I heard there's a function that does this in later versions of the SDK. In any case, I'm looking for solution that works for 1.5 and upwards.
I'm trying to send some push notification message to my App using the sandbox option.
I'm getting those messages on my console:
Sun Apr 25 21:56:22 unknown /usr/libexec/notification_proxy[57] : Could not receive size of message
Sun Apr 25 21:56:22 unknown /usr/libexec/notification_proxy[57] : Could not receive message
How do I resolve this?
Thanks
I'm wanting to programmatically monitor the cache size on a certain ASP.NET site. This is basically for the administration portion of a product, where we allow users to partially control whether their site uses caching or not.
Is there a way to do this. Should I be using the ManagementScope object to perform this query?
I'm working with libpcap in C on linux (centos) and I'm following this guide I want to simply print out the entire packet in ascii and i'v managed to get it working by casting it a u_char* in the "my_callback" function. But I can't figure out how to get the length of the data. strstr didn't work. the header has a len member that you can access to get the size but I can't find anything similar for the *packet being passed. Any help is appreciated.
Does anyone have the same problem as I do? ... I've upgraded to the iPhone SDK 3.2 and I am unable to resize UITableViewCell object in my XIB file (usually I've been just resizing the view but now the cell has the same size and there is just a grey are around) ... btw, I've tried to reinstall twice including one deep reinstall.
I have an object which is a composite of several other objects. When i use the getObjectSize() method in the Instrumentation package, does it include the size of the composite objects also?
I have a ListView using the LargeIcon View mode with some 64x64 thumbnails. The problem is that the padding between ListViewItems is somehow based on the system's Icon size value (Display Properties Appearance Advanced Icon).
The default for XP seems to be 32 and the ListView and its thumbnails look fine, but with higher Icon sizes, the items are spaced out horrendously. Is there any way to override this behavior and force it to use the same spacing?
I'm trying to figure out how much javascript is being loaded on my website. I'm using Reducisaurus to shrink my js files. The problem is, this is causing both YSlow and the Web Developer extension report the size of my files as ~.04K, which I know can't be right (one of the .js files is jquery, which is 50kb). Is there any way to accurately figure out how much time I've saving by using Reducisaurus?
Suppose a UNIX file system has some constraints--say, 2 KB blocks and 8B disk addresses. What is the maximum file size if inodes contain 13 direct entries, and one single, double, and triple indirect entry each?
According to the ActionScript 3.0 documentation, the TextField classes "size" property is an Object. Why is this? Clearly this is a number! When I check its type (using typeOf()), it returns "Number". So whats the deal?
Is there a way to store the font-size/line-height in a Sass variable like this:
$font-normal: 14px/21px;
Using this declaration I get a division as described in the documentation. Is there a way to avoid the division?
Note: I use the scss syntax.
I'm having an issue with the size of the .lib when I compile libcurl. It's 1.6 MB and the sample program they have is alround 300 KB.
I downloaded the latest version (curl-7.20.0) and opened the project file from the lib directory in visual studio 2008. In the project properties I set /MT and compiled a release build. I even tried adding HTTP_ONLY to the processor which didn't seem to affect anything. What's going on?
I have images of active report in database, when i get into bytes and convert into memory stream so it can pass to active report viewer then how i get paper size of paper display in active report?
My code :
Dim repmem As New System.IO.MemoryStream(rptBytes)
repmem.Position = 0
Viewer1.Document.Load(repmem)
I have written a driver for a UART in omap4460 panda board running on Linux platform.I have enabled DMA in FIFO mode in UART.My user application transfers 100 bytes of data from user space to kernel buffer(DMA buffer).
As soon as the DMA channel is enabled, data from DMA buffer is copied to FIFO which is then transmitted to TSR of UART.Since my FIFO size is 64bytes,only 64 bytes is transmitted to TSR.
What should I do to transfer remaining bytes from DMA buffer to FIFO?/ IS there any overflow occuring?
How can I measure programmatically (not query the OS, but measure) the size and order of associativity of L1 and L2 caches (data caches)?
Assumptions about system:
It has L1 and L2 cache (may be L3 too, may be cache sharing),
It may have a hardware prefetch unit (just like P4+),
It has a stable clocksource (tickcounter or good HPET for gettimeofday).
There are no assumptions about OS (it can be Linux, Windows, or something non-standard), and we can't use POSIX queries.
Language is C. And compiler optimizations may be disabled.
Hi.
What is the benefit of setting the -Xms parameter, and having the initial memory larger for example, then the default calculated one (64 MB in my case, according to Java GC tunning:
http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#par_gc.ergonomics.default_size)?
Also, is there any good to setting both the initial and maximum memories to same size?
Thanks.
I have few nested DIVs at page. I want to add event only for smalest DIV which size is more than 100x100 px.
I am able to do it using conditions in code.
Is it possible to do using selector?
$('?????').click(function (e) {
}
If yes, please provide an example.