234 Topics

Member Avatar for
Member Avatar for P.manidas

Dear Sir/Madam, How to measure memory consumption of a VB 6.0's programe? As a programmer in vb. 6.0, where i have to be conscious for getting less consumption of memory of my program at design time? Is there any free software to measure memory consumption of a programe? Please guide …

Member Avatar for P.manidas
0
247
Member Avatar for habib_parisa

Dear All, I am a C code to calculate prices in stock market. I pass a two dimensional array to a function as [CODE] #define DIM 3000 void grid(double tree[][DIM]); int main(){ double tree[DIM][DIM]; grid(tree ); return 0; } void grid(double tree[DIM][DIM]){ /* and do sutff on tree * } …

Member Avatar for Ancient Dragon
0
135
Member Avatar for goldenmean

Hello, This might not appear like a programming question, but inherently deals with code. I have a following piece of test-code, which has obvious errors like array index out of bounds, memory leak:- [CODE] #include "stdio.h" #include "stdlib.h" main() { int i; char *ptr; ptr = (char*)malloc(5); for(i=0;i<10;i++) { ptr[i]=(char)i; …

Member Avatar for Dave Sinkula
0
282
Member Avatar for Salem

[url]http://www.daniweb.com/forums/thread252440.html[/url] gets me this error message [quote=daniweb_server] Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3842759 bytes) in /home/daniweb/httpdocs/forums/includes/class_bbcode.php(172) : eval()'d code on line 150 [/quote] I'm assuming the OP has pasted a bitmap (or some other stupid thing) into the message, rather than an attachment.

Member Avatar for The Dude
1
298
Member Avatar for Gribouillis

This snippet provides 2 functions to create in memory a gziped archive of a sequence of files and directories, and to extract files from this archive. These functions are similar in effect to the linux commands [icode]tar czf[/icode] and [icode]tar xzf[/icode] but instead of writing an archive file on disk, …

2
4K
Member Avatar for sirdanman10

Does anybody know a good tutorial on programming applications with multiple entry points in C++? I am designing an application in MSVC 2008 Express that will interface with an AS/400 system and process scripts to either feed data, extract data by reading the screen, or do custom tasks. I was …

0
113
Member Avatar for lss123

Hello- I'm using VB.NET (visual studio) to create a chatbot (a program that mimics a human and has a text converstion with you). Two of my main classes are a word class and a sentence class. The sentence object is basically going to be a linked list of words objects. …

Member Avatar for lss123
1
183
Member Avatar for kevinkace

Can't figure out what's wrong with my delete function. If I remove the delete for the name and address it works as expected, but am I not leaking memory that way? [B]Structs:[/B] [CODE] struct Person { char* name; char* address; int zipcode; }; struct Node { Person* per; // Person …

Member Avatar for kevinkace
0
172
Member Avatar for EddieC

Smaller, bigger, faster. The more time that goes by, the bigger the number of bits they squeeze into smaller places for less money. And always faster than before. This time it's Samsung, with [url=http://www.eetimes.com/news/design/showArticle.jhtml?articleID=221901550]news today[/url] that it has begun volume production of flash memory that's more than three times faster …

0
152
Member Avatar for parthibangemini

Do any of you know what is the difference between the two type of Rams, both are same DDR2 800MHz 2GB ram of same company specifically Transcend. why there is a change in the memory frequency 2:3 and 5:6 what are those. ------------------------------------------------------------------------------- DDR2 Transcend 2048 MBytes PC2-6400 (400 MHz) …

Member Avatar for whisk3rs
0
156
Member Avatar for kenth21v

my questions are: 1) is is possible to install a RAM like this: DIMM_A1(blue) populated DIMM_A2(black) populated DIMM_B1(blue) ------ DIMM_B2(black) ----- but the two RAM is not Identical.. 2)how about this one: DIMM_A1(blue) populated DIMM_A2(black) populated DIMM_B1(blue) populated DIMM_B2(black) ----- the RAM at the blue socket is identical, but the …

Member Avatar for crunchie
0
130
Member Avatar for EddieC

Has your server's memory reached its 192GB limit? Last week a company called [url=http://netlist.com/]Netlist[/url] was demonstrating a new RDIMM technology that it claims can double per-CPU memory capacity without doubling the cost and without replacing any other hardware. At [url=http://sc09.supercomputing.org/]Supercomputing 09[/url], the high performance computing industry's annual conference, Netlist showed …

0
321
Member Avatar for newsguy

IBM has today announced a breakthrough chip-stacking technology in a manufacturing environment that paves the way for three-dimensional chips to extend Moore’s Law way beyond traditionally expected limits. The ‘through-silicon-vias’ technology allows different chip components to be packaged much closer together, resulting in faster, smaller and lower-powered systems. This breakthrough …

Member Avatar for nhaidz
0
500
Member Avatar for mikeandike22

Ok I have been looking for this for a while it is the ultimate list of repositories for the Ubuntu 6.06 Dapper Drake distro. It will give you so many program choices you wont know what to do. simply goto your terminal and type sudo gedit /etc/apt/sources.list (I chose gedit …

Member Avatar for ingalex
0
473
Member Avatar for Clockowl
Member Avatar for EddieC

While most reporters and bloggers today are trumpeting the fine showing by chip-maker AMD in the semi-annual list of the world's [Top 500 Supercompting Sites](http://www.top500.org/list/2009/11/100), for me the real news is what AMD has planned for next year. In the first quarter of 2010, AMD is scheduled to begin shipping …

0
312
Member Avatar for star344

I installed some additional memory last week because the desktop computer moved slowly. Now, the monitor shows black. I've hooked the computer to two different monitors and get the same result. It is an emachines computer, and I have taken the new memory out, but the monitor still doesn't work. …

Member Avatar for Bob_180_Bob
-1
238
Member Avatar for EddieC

While the competition is hard at work on a [url=http://www.daniweb.com/news/story233646.html]100-core processor[/url], Intel this week reported advances in [url=http://en.wikipedia.org/wiki/Phase-change_memory]phase-change memory (PCM)[/url], a type of non-volatile memory that is seen as a possible next-generation replacement for flash. In a joint [url=http://www.intel.com/pressroom/archive/releases/20091028corp.htm?iid=pr1_releasepri_20091028r]announcement[/url] yesterday with Swiss memory maker [url=http://www.numonyx.com/en-US/Pages/default.aspx]Numonyx[/url], the companies said they had …

0
148
Member Avatar for sfuo

This program asks for integers from the user and stores them into a multidimensional array that adjusts its size.

Member Avatar for VernonDozier
0
991
Member Avatar for dqddani

Hello. This problem occured in a program that used dynamic memory, and the arrays were deleted and reallocated several times with varying length. It seemed to me that after deleting the arrays, the pointer is still pointing to some data with the same length. (And of course i didn't want …

Member Avatar for jbennet
0
508
Member Avatar for sachin_mishra

Where do you recommend one can get [B][URL="http://www.memoryx.net/flashmemory.html"]flash memory[/URL][/B]? It's usually hard to find... if you do get to find a few, they over price it! Although i got an good Site [COLOR="Red"] MEMORYX.NET [/COLOR] but did you.....? share your knowledge here Thanks!

0
97
Member Avatar for atch

Hi, I'm trying to implement my own allocator using malloc and free. One thing what interests me is that in declaration of deallocate in addition to pointer we have also parameter size which suppose to be size of elements allocated with allocate but having implemented my deallocate as this: [code=c++] …

Member Avatar for atch
0
89
Member Avatar for leoni

Hi All! I have a doubt about returning reference. I'll show you an example: [CODE] Vector &MakeVector() { Vector *result = new Vector<Dim>(); /*some more code*/ return *result; } [/CODE] now I can call the function MakeVector to assign it result in this two ways: [CODE] Vector v = MakeVector(); …

Member Avatar for leoni
0
142
Member Avatar for cwarn23

I'm not sure if this is possible but I'm kinda stuck in the middle. For my script I need to calculate the server load and the mysql cache usage both in percentage. Does anybody know of any scripts I can use for this. There are probably open source things that …

Member Avatar for cwarn23
0
257
Member Avatar for newsguy

John Tu is the President and Co-founder of Kingston Technology which just happens to be one of the biggest providers of memory products on the planet, so when he talks about trends and developments in the memory market a lot of people start listening. Especially when he does so against …

0
219
Member Avatar for newsguy

Could it be that Apple, [URL="http://www.digitimes.com/news/a20080702PD209.html"]having placed an order[/URL] for some 50 million 8Gb flash chips, is planning to sell rather a lot of the new iPhone 3Gs? At the very least it will mean that the competition, such as Samsungs other customers, will have to go hang. Indeed, Samsung …

Member Avatar for Dani
0
172
Member Avatar for happygeek

Firefox ticks many boxes, but the one big cross it has had to bear over the years is the memory leakage problem that many users have experienced. Here's how it works: user has Firefox browser open and visits websites, Firefox slurps up some system resources, user continues to keep Firefox …

Member Avatar for thunderstorm98
0
234
Member Avatar for kc0arf

For those who may not have heard, former network leader Novell (who owns SuSE Linux) made a deal with Microsoft exchanging some intellectual property rights. Those in the business-end of IT know that Microsoft is busy applying for thousands of patents concerning Intellectual Property -- have a look at Network …

Member Avatar for BILL S
0
311
Member Avatar for Mahen

What Caused Microsoft to Create DirectX10? It all started with the Windows Error Reporting Tool. Microsoft was collecting hundreds of Bugs per day only for its Operating System. Microsft Found out that 70% of all errors and bad user Experience in Windows XP comes from Graphic Display drivers. First, Microsft …

Member Avatar for Mahen
0
327
Member Avatar for Zephyroza

Intel officially announced the introduction of 10 Core 2 Duo and Core Extreme microprocessors for desktops, workstations and notebooks. Intel said it has over 550 customer system designs underway, with the CPUs built on 65 nanometre technology. Machines using the desktop chips will be available in early August, while notebooks …

0
239

The End.