234 Topics

Member Avatar for
Member Avatar for JE821

I'm not sure if I'm freeing the memory correctly. I have the following struct and I'm trying to free the pointer in it. typedef struct RECORD { char* name; int score; }RECORD; In my main function I have an array of this struct, therefore I'm using a loop to free …

Member Avatar for JE821
0
274
Member Avatar for venky019

Hi, I have to open and read multiple files which are in same folders. I can search and collect the whole size of those files. But the problem is with when I'm copying the files to a buffer. How can I read the multiple files? I'm using this example for …

Member Avatar for venky019
0
443
Member Avatar for Big Tunda

Who, what, or how is memory-mapped I/O and memory maps set up in computer systems for use? I will try and be as clear as possible, and I hope someone here has the knowledge to really understand what I'm asking thoroughly, and have some answer that's good enough to make …

0
194
Member Avatar for 9tontruck

Hi, I am implementing an applicaiton which uses CPU but having a problem about allocating in GPU memory. Above all, my work environment is Windows 7 Visual Studio 2010 NVIDIA Quadro NVS 290 (256MB) When I run a piece of CUDA code: cudaMemGetInfo(&freeMem, &totalMem); I get 256MB of total memory …

Member Avatar for 9tontruck
0
379
Member Avatar for wschamps42
Member Avatar for Banfa
0
152
Member Avatar for James19142

I just started using Qt5 and now i'm getting an error which seems to be generated near the end of compiling saying this: cc1plus.exe: out of memory allocating 408 bytes. I compiled this same exact code in Qt 4.8.1 without any problems multiple times. I have no way of getting …

0
127
Member Avatar for halo3rlz

hi, I made a new partition to install vista because i wanted to make sure i would have all the files i needed before i normally would've cleaned the original partition and installed it there. I plan to keep the second partition and i would like to move memory from …

Member Avatar for oalee
0
275
Member Avatar for cdsr

Alright so I've been struggling to find the error but I simply can't. Given the following code: #include <iostream> #include <vector> enum ScriptType { SCRIPT_TYPE_CREATURE_SCRIPT, SCRIPT_TYPE_PLAYER_SCRIPT }; class Script { private: ScriptType type; public: Script(ScriptType type) : type(type) { } ScriptType getScriptType() const { return type; } }; class CreatureScript …

Member Avatar for cdsr
0
294
Member Avatar for Walara

Hi, I have a usb-memory stick. I want to verify if the advertized size of the usb-sick is correct. I know a program from 360.cn that can do this in about 2 minutes(8 gb stick). But it is not a standalone program. I also know H2testw, but it is very …

Member Avatar for Walara
0
148
Member Avatar for isrinc

`Inline Code Example Here`I am using a pair of pthreads that call a pair of functions for ping-pong dma data transfer that are used in a loop for data transfer from an acquisition board. For a large # of waveforms, I ultimately run out of PC memory and the program …

Member Avatar for Ancient Dragon
0
265
Member Avatar for 9tontruck

I have been making a C++ application and currently checking if there exists any memory leak before release. My application will be running as an object over HTTP server and it should be idle until an HTTP request comes in. Which means it should release most of memories when it's …

Member Avatar for Ketsuekiame
1
211
Member Avatar for RockJake28

What are the repercussions of having an odd number of RAM modules. E.g. 3 x 4GB I know it will work but I want to know exactly what damage it can do/problems it can create. Cheers EDIT: And also, why is it better to have more RAM modules (e.g 2x4GB …

Member Avatar for caperjack
0
843
Member Avatar for CPT

Hello everyone, I've encounterred a problem that I cannot seem to overcome. For the program to compile there are a few steps necessary to take: from the website [Click Here](http://osl.iu.edu/research/mpi.net/software/) on the download page, one would need to download and install: 1. MPI.NET SDK 2. Microsoft Compute Cluster Pack SDK(this …

Member Avatar for Ketsuekiame
0
364
Member Avatar for nnekymoe

![Spatial_Recall_2](/attachments/large/4/Spatial_Recall_2.png "Spatial_Recall_2") I'm new to pygame and currently I'm working on creating a memory game where the computer displays boxes at random positions for like a second and then the user has to click on where he/she thinks those boxes are. It's kind of like this: [Click Here](http://www.lumosity.com/brain-games/memory-games/memory-matrix) However right …

0
152
Member Avatar for devilmaycry1

hi friends I've a code to compute integral with area function in code. I used Fork, and for returned values I must use shared memory. now I need to embed a semaphore in my code to control the critical area(here is shared memory). I don't know how to embed semaphore …

Member Avatar for DeanMSands3
0
2K
Member Avatar for collin_ola

Hi, I seem to be having a problem with my code below, which I would like to be able to use to return 2 values from the result of a quadratic equation operation. The eReturn function takes care of negative square root values. I'm not getting any errors back, just …

Member Avatar for Miorfs
0
3K
Member Avatar for phfilly

Hi I have trouble with implementing a dynamic two dimensional pointer array on allocating memory for it. I tried it this way but not sure if it's correct. The array should contain pointers to heap allocated **Integer** objects const int size = 10; Integer *** twoD; twoD = new Integer**(); …

Member Avatar for Ancient Dragon
0
321
Member Avatar for taylor.mitchell.353

I am making a project using hashtables. I have to use a linked list to handle duplicate hashcodes. The Objects that I am turning into hash tables are State objects with just a String name. I have debugged and tested my entire project and cannot figure out why it is …

Member Avatar for taylor.mitchell.353
0
693
Member Avatar for kedxu

I'm probably doing this wrong, because there has to be a way to do this. Here is my current code: import javax.sound.sampled.*; public class soundHandler{ soundHandler() { } public void newSound(String sound) { new soundThread(sound).start(); } } class soundThread extends Thread { String soundName; Clip clip = null; soundThread(String i_soundName) …

Member Avatar for ~s.o.s~
0
367
Member Avatar for mmcdonald

Would you say its time to increase the RAM on this lil machine or is it okay? Could you please explain this output? free -m -s 5 total used free shared buffers cached Mem: 496 439 57 0 20 250 -/+ buffers/cache: 167 328 Swap: 511 5 506 Thanks, M

Member Avatar for mmcdonald
0
161
Member Avatar for Dersev

Hi I have a question about memory address on Windows Mobile 5.0 I found application pid by task manager which I downloaded from internet. Is it possible to find memory addresses by pid on Windows Mobile ? I know that VisualC++ has built in methods but for desktop Windows. I …

0
132
Member Avatar for pkfx

Im trying to increase a dynamic array by 1 element and assign a integer variable to it but recieve a heap overload error. Any advice would be appreciated. void CardSet::AddCard(int cardNum) { int* tmp; nCards++; tmp = new int[nCards]; for(int i = 0; i < (nCards - 1); i++) { …

Member Avatar for Ancient Dragon
0
181
Member Avatar for Ethire

Hey guys, This is my first post as i can usually find my answers elsewhere, but this time, ive had no luck. I am running windows xp sp3 professional 32-bit and have recently upgraded my RAM from a 256mb(333) + 512MB(333) to a 512MB(400)+512MB(400) set up. When i did this …

Member Avatar for Ethire
0
191
Member Avatar for chrisbrunke

Okay, so I'm working on this system for a friend of the family. There were ALOT of things wrong with this... but that's besides the point. Basically, I'm trying to figure out why it's running so slow. I've completely disassebled everything in the system, cleaned, dusted, reapplied thermal compound to …

Member Avatar for johhny-marshal
0
325
Member Avatar for j111ames

The new firefox steals more memory from your computer than a bottle of jose cuervo:)

Member Avatar for stultuske
0
63
Member Avatar for MegaBlaze007

As the title says, my motherboard won't boot up but randomly boots up by itself! Now a detailed explanation. Firstly my motherboard is [Asus P5GC-MX/1333](http://www.asus.com/Motherboards/Intel_Socket_775/P5GCMX1333/). When I first got it, I had a 20-Pin PSU of 300W and I've used it for about 2 weeks. Then one day, when I …

Member Avatar for caperjack
0
498
Member Avatar for data recpver

1. Stop writing any data to memory card anymore 2. Recover lost data in time 3. Choose data recovery software with pertinence. Watch out when performing memory card data recovery operations 4. Back up original data in advance if it is allowed. These four points are good for guaranteeing perfect …

Member Avatar for sheikhali449
0
205
Member Avatar for kernelpassion

I'm confused with the function: void * page_address(struct page *page) which (1) "convert a given page to its logical address" according to "Linux Kerenl developement 3rd edition" (2) "returns the linear address associated with the page frame" according to "understanding the linux kernel>>" (3) "returns the physical address of the …

0
151
Member Avatar for bikashjit

My laptop has only 257MB RAM, so it does works soo slowly, it always hangs, I heard that windows users can increase RAM space with pendrive... I know it works windows 7 but does it work in XP ?? and Does hardrive memory also slow down your computer ?

Member Avatar for tigerbright
0
482
Member Avatar for Cronicle8

Good morning, I'm coding a game which ovject is to capture the feed of a webcam, then apply some filters to detect movement, so far i've managed to get the webcam to work but when i apply the filters it says "Bitmap locked" i've managed to solve that error, right …

Member Avatar for Cronicle8
0
291

The End.