DDR 512- 1024

Hi!
I now have 2 x 256MB DDR (PC2100) on my MSI KT 3 Ultra. I'm planning to upgrade it to 1024MB. Can I just buy 512MB DDR (PC2700) and install it, or are there any problems that will come up? I now have Hynix memorysticks, and think I could buy Kingston, Apacer, or Samsung 512Mb DDR...

You could try, but diffrent brand sticks, heck even same brand stick can have compadability problems when trying to run together. Be sure the stick you buy is on the approved list from MSI.

Similar Messages

  • KM3M-V problem DDR

    Hello
    i try to install my new DDR 512 MO 2700 but when  i reboot my computer i have got blue sreen with this message
    irq_not_less_equal
    My system:
    AMD Sempron 2500+
    MSI KM3M-V
    512 Mo DDR-SDRAM PC2700
    ASUSTeK V9400-X/TD - 64 Mo/32-bit Composite/DVI (NVIDIA GeForce MX4000)
    thanks

    yes it's working before
    i use noname memory  552 ddr 2700

  • KT 4V memory 1GB limit?

    hi, I have the KT4V mobo (KT400 chipset) .... and I started to need more memory than 768 MB (512+256 modules)(mostly cause of video processing) ,
    so I just bought a fresh "common" 1 GB DDR 400 MHZ module and inserted it in and the result is that :
     I cannot get board to map more than 1 GB ... it works this way
       1024 MB = 1024 MB
       1024+256 = 1024 MB
       1024+512 = 1024 MB
       1024+768 = 1024 MB
    I've tried swapping slots a bit and it doesn't works better that way =always the same = just 1 GB....
    btw I set mem frequency to 266 in bios (cause i run 16.5 @ 142 ) so memory will stay 1:1 to FSB.
    memtest runs fine
    cpu-z and sanrda detects both chips !
    i've tried to turn bank-interleave to 2-way,4-way,off, but it doesn't do anything ....
    did some of you experienced similar situation ? found a solution ?
     I would be glad to hear how to work it out .....
    btw: sorry I just realized that this section is now just for 64bit, can moderator move it to right group please ? (socketA boards) ?

    Quote
    I just upgraded one of my older PCs with a 1GB DDR DIMM(PC2100/266).  The motherboard is KT3 (MS-6380E).  Three slots...doesn't matter the order or if the 1gb is the only one in...still comes up at 512MB.
    I upgraded the bios...although after flashing the bios the AMI version is the same (3.31a).  Any other ideas?  This seems to be a common problem...doco clearly states 1gb DIMMs are supported.
    Quote
    the problem is common because a lot of people simply purchase the cheapest memory they can find.
    Since there are over hundreds types of memory modules and they are using different type of DRAMs to build them, it is very possible that you have purchased a (cheap) memory module which is not compatible with your computer.  For example, there might be 3-4 different types of 128MB memory modules and some computers are very picky and can only support 1 type or 2 types of 128MB memory modules.  If  it is incompatible, then usually you will not be able to boot up your system or you will see frozen screen or system might only recognize half of the memory size.  In order to avoid this kind of situations, I strongly suggest you visit www.digi4me.com and read the fine print regarding very low compatability chipset mobos.
    Cheers, and yes, you're right, manufactares should do the things the right way, but in some cases they use cheap components. 

  • Additional 1GB RAM became 512MB???

    I got the 1GB memory from my brother, he sent it to me, and he said he has tested it with his powerbook before he sent it, there was no problem.
    After I got it, I rushed to install it to my iBook G4and what amazing, it says I only have 512MB additional memory (!!!)
    I uninstalled and installed it many times to make sure that i install it correctly, but it is stll the same, its still saying only 768 MB DDR SDRAM (because I have 256MB built-in).
    After that I accidentaly enter the hardware test when i was turning on my iBook. There, I read the memory section and there was written like this "512/1024". What does "/" mean? Does it mean "OR"? If it means "OR" so I could change it to 1024 right? But how???
    About the spesification of the memory, I dont even know what type it is, what I know it is written 1GB and it is Transcend.
    Thanks

    Simply, the RAM is not compatible with your iBook. It is only registering half the RAM because the arrangement of chips on the module cannot be read by the iBook's memory controller. Sorry.

  • Adding RAM disaster!!! HELP ME!

    Recieved a new 512 ddr Ram stick for Christmas.  I already have a 512 ddr stick that has been working for over a year.
    Did MSI Live update.
    In Bios I set to optimal defaults or (non-High performance defaults.)
    set SDRAM 1T to diable
    Put DDR Voltage to 2.7
    Installed DDR 512 Ram Booted up.
    Computer gets to desktop then reboots.
    What other settings do I need.  PLEASE HELP!  MSI never calls back!
    Tried clocking FSB to 133 - crashed sooner to a Blue screen with that setting.
    K7T266 Pro 2
    ms-6380 Amibios version 3.30 ( I think )
    Help Me! Please or I will send the RAM back.  I know the ram is probably fine because on a couple of boots I saw the 1024 spec.
    Vetrano7

    Running XP with both Ram sticks the same, 512 DDR Kingston.  They are identical as recommended.  I am ready to send the Ram back and I am very disappointed in the motherboard.

  • NEW MOBO.HELP PLS!!

    when i upgraded last year to a MSI RS 480M2 paired with a 6600 GT pci-e its been a nightmare for me.the radeon mobo chipset absolutely refuses to work with the nvidia card,so here i am once again on the search of a new motherboard.But this time i will only buy one with a nforce chipset.
    so what do u guys suggest? i want a mobo with 99% stability(100 is impossible to me),no issues at all.Besides i am really short of cash so i need a VFM board,SLI not required.
    by the way i have a AMD 64 3000 939.
    Thx in advance for ur replies

    Quote from: riju on 10-January-06, 14:40:36
    when i upgraded last year to a MSI RS 480M2 paired with a 6600 GT pci-e its been a nightmare for me.the radeon mobo chipset absolutely refuses to work with the nvidia card,so here i am once again on the search of a new motherboard.But this time i will only buy one with a nforce chipset.
    so what do u guys suggest? i want a mobo with 99% stability(100 is impossible to me),no issues at all.Besides i am really short of cash so i need a VFM board,SLI not required.
    by the way i have a AMD 64 3000 939.
    Thx in advance for ur replies
    Hello and happy new year to you I hope that we can help get your problem fixed.
    First off please add a sig (system spec's) Details can be found how here:   https://forum-en.msi.com/index.php?topic=90789.0  
    Quote
    MSI RS 480 M2-IL(ati xpress 200 chipset)
    AMD 64 3000+
    XFX GEFORCE 6600 GT PCI-E
    40 GB SAMSUNG HDD
    640 MB DDR 400 RAM
    400 WATT I-BALL PSU(12 V-17 A)
    I've reviewed some of your posts.  >  https://forum-en.msi.com/index.php?action=profile;u=74320;sa=showPosts
    1) Have MSI offered you a replacentment to the 482 ?? (RMA you need to contact them ask to RMA the board because of this problem) @ least then it mite not be a total loss if you can sell or even better get it working (with a replacement)  
    2) PSU I have a  380W antec (see sig) and it is true power 380W at peak 491W there is a difference between stated wattage, amps, rails and what a PSU can do really. Please do some research:   https://forum-en.msi.com/index.php?topic=80186.0  < (exmaples) >  http://www.extreme.outervision.com/index.jsp    
    3)  As for suggesting (You have 939 correct ???? A sig would help me and others better help you ) I have (7125)  http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=637   <-   this is a great board for single PCI-E cards or try
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=652   for MSI options (non SLI)
    My board (7125) has given me no problems handles O/C 2550+ (I'am only limited by my PSU) The only other problem I have is my ram I have 4*512 and it won't run @ 400Mhz (this is due to the memory connoller on the CPU, so its not the MOBO doing but the CPU)
    Also 939 can run dual channel memory (128bit) with matched pairs of ram e.g 256+256, 512 + 512, 1024+1024 (This mite give you upto 5-7% increase in performance but its depenant on app in use. It can be as little as 0-2% in some case) I would say if your gaming 512 Is the bear min but 1GB is the sweet spot. 2GB in a very few games like BF2 fear (If you wish to run MAX and near MAX settings)

  • K7n2 delta & old HD

    HI Guys-
    k7n2 delta mobo
    western digital protege 40gb unjumped with windows xp home already on it ( out of a working system )
    tried 2 mushkin 2100 ddr 512 in slot 1 &2
    tried infineon 2100 ddr 256 133mhz in slot 1 then slot three
    tried samsung 2100 ddr 256 in slot 1
    250 watt psu
    amd 1600xp
    appian rushmore quad video card
    during POST it recognizes the hd,
    it says the dram clock is set for 266
    then evry time i get a blue screen saying 'problem detected,windows shutdown to protect your computer,check for viruses, removeany newly installed hard drives or controllers, run chkdsk to see if your drive is bad.'
    TEchnical info *** STOP: 0x0000007B (0xF7C46640,0xC0000034,0x00000000,0x00000000)
    None or the memory i have tried has worked and i want to use this existing hard drive because it has all the appian drivers and programs on it, not to mention the os, which i don't have a disk of because it was already installed.
    Any ideas on what's hanging up the HD?
    Thanks
    Tyler
    ps the only reason for this computer is because appian said their quad cards work best with msi & asus. hopefully the small psu won't be a factor b/c all this machine is going to do is run the appian quad card. no other peripherals

    Quote
    Originally posted by tyler
    HI Guys-
    k7n2 delta mobo
    western digital protege 40gb unjumped with windows xp home already on it ( out of a working system )
    tried 2 mushkin 2100 ddr 512 in slot 1 &2
    tried infineon 2100 ddr 256 133mhz in slot 1 then slot three
    tried samsung 2100 ddr 256 in slot 1
    250 watt psu
    amd 1600xp
    appian rushmore quad video card
    during POST it recognizes the hd,
    it says the dram clock is set for 266
    then evry time i get a blue screen saying \'problem detected,windows shutdown to protect your computer,check for viruses, removeany newly installed hard drives or controllers, run chkdsk to see if your drive is bad.\'
    TEchnical info *** STOP: 0x0000007B (0xF7C46640,0xC0000034,0x00000000,0x00000000)
    None or the memory i have tried has worked and i want to use this existing hard drive because it has all the appian drivers and programs on it, not to mention the os, which i don\'t have a disk of because it was already installed.
    Any ideas on what\'s hanging up the HD?
    Thanks
    Tyler
    ps the only reason for this computer is because appian said their quad cards work best with msi & asus. hopefully the small psu won\'t be a factor b/c all this machine is going to do is run the appian quad card. no other peripherals
    Tyler,
       Like you've been told, a 250W PSU is not going to to the trick You need a "Good" strong PSU for these boards. Enermax or Antec 400W+ would be a good choice, don't be fooled into buying a noname high wattage PSU with poor outputs. Also moving your HD out of another system with the OS already on it is not a good idea. Your OS is confused because it's seeing different components. :( Do a clean install. )

  • A quick primer on audio drivers, devices, and latency

    This information has come from Durin, Adobe staffer:
    Hi everyone,
    A  common question that comes up in these forums over and over has to do  with recording latency, audio drivers, and device formats.  I'm going to  provide a brief overview of the different types of devices, how they  interface with the computer and Audition, and steps to maximize  performance and minimize the latency inherent in computer audio.
    First, a few definitions:
    Monitoring: listening to existing audio while simultaneously recording new audio.
    Sample: The value of each individual bit of audio digitized by the audio  device.  Typically, the audio device measures the incoming signal 44,100  or 48,000 times every second.
    Buffer Size: The  "bucket" where samples are placed before being passed to the  destination.  An audio application will collect a buffers-worth of  samples before feeding it to the audio device for playback.  An audio  device will collect a buffers-worth of samples before feeding it to the  audio device when recording.  Buffers are typically measured in Samples  (command values being 64, 128, 512, 1024, 2048...) or milliseconds which  is simply a calculation based on the device sample rate and buffer  size.
    Latency: The time span that occurs between  providing an input signal into an audio device (through a microphone,  keyboard, guitar input, etc) and when each buffers-worth of that signal  is provided to the audio application.  It also refers to the other  direction, where the output audio signal is sent from the audio  application to the audio device for playback.  When recording while  monitoring, the overall perceived latency can often be double the device  buffer size.
    ASIO, MME, CoreAudio: These are audio driver models, which simply specify the manner in which an audio application and audio device communicate.  Apple Mac systems use CoreAudio almost exclusively which provides for low buffer sizes and the ability  to mix and match different devices (called an Aggregate Device.)  MME  and ASIO are mostly Windows-exclusive driver models, and provide  different methods of communicating between application and device.  MME drivers allow the operating system itself to act as a go-between and  are generally slower as they rely upon higher buffer sizes and have to  pass through multiple processes on the computer before being sent to the  audio device.  ASIO drivers provide an audio  application direct communication with the hardware, bypassing the  operating system.  This allows for much lower latency while being  limited in an applications ability to access multiple devices  simultaneously, or share a device channel with another application.
    Dropouts: Missing  audio data as a result of being unable to process an audio stream fast  enough to keep up with the buffer size.  Generally, dropouts occur when  an audio application cannot process effects and mix tracks together  quickly enough to fill the device buffer, or when the audio device is  trying to send audio data to the application more quickly than it can  handle it.  (Remember when Lucy and Ethel were working at the chocolate  factory and the machine sped up to the point where they were dropping  chocolates all over the place?  Pretend the chocolates were samples,  Lucy and Ethel were the audio application, and the chocolate machine is  the audio device/driver, and you'll have a pretty good visualization of  how this works.)
    Typically, latency is not a problem if  you're simply playing back existing audio (you might experience a very  slight delay between pressing PLAY and when audio is heard through your  speakers) or recording to disk without monitoring existing audio tracks  since precise timing is not crucial in these conditions.  However, when  trying to play along with a drum track, or sing a harmony to an existing  track, or overdub narration to a video, latency becomes a factor since  our ears are far more sensitive to timing issues than our other senses.   If a bass guitar track is not precisely aligned with the drums, it  quickly sounds sloppy.  Therefore, we need to attempt to reduce latency  as much as possible for these situations.  If we simply set our Buffer  Size parameter as low as it will go, we're likely to experience dropouts  - especially if we have some tracks configured with audio effects which  require additional processing and contribute their own latency to the  chain.  Dropouts are annoying but not destructive during playback, but  if dropouts occur on the recording stream, it means you're losing data  and your recording will never sound right - the data is simply lost.   Obviously, this is not good.
    Latency under 40ms is  generally considered within the range of reasonable for recording.  Some  folks can hear even this and it affects their ability to play, but most  people find this unnoticeable or tolerable.  We can calculate our  approximate desired buffer size with this formula:
    (Sample per second / 1000) * Desired Latency
    So,  if we are recording at 44,100 Hz and we are aiming for 20ms latency:   44100 / 1000 * 20 = 882 samples.  Most audio devices do not allow  arbitrary buffer sizes but offer an array of choices, so we would select  the closest option.  The device I'm using right now offers 512 and 1024  samples as the closest available buffer sizes, so I would select 512  first and see how this performs.  If my session has a lot of tracks  and/or several effects, I might need to bump this up to 1024 if I  experience dropouts.
    Now that we hopefully have a pretty  firm understanding of what constitutes latency and under what  circumstances it is undesirable, let's take a look at how we can reduce  it for our needs.  You may find that you continue to experience dropouts  at a buffer size of 1024 but that raising it to larger options  introduces too much latency for your needs.  So we need to determine  what we can do to reduce our overhead in order to have quality playback  and recording at this buffer size.
    Effects: A  common cause of playback latency is the use of effects.  As your audio  stream passes through an effect, it takes time for the computer to  perform the calculations to modify that signal.  Each effect in a chain  introduces its own amount of latency before the chunk of audio even  reaches the point where the audio application passes it to the audio  device and starts to fill up the buffer.  Audition and other DAWs  attempt to address this through "latency compensation" routines which  introduce a bit more latency when you first press play as they process  several seconds of audio ahead of time before beginning to stream those  chunks to the audio driver.  In some cases, however, the effects may be  so intensive that the CPU simply isn't processing the math fast enough.   With Audition, you can "freeze" or pre-render these tracks by clicking  the small lightning bolt button visible in the Effects Rack with that  track selected.  This performs a background render of that track, which  automatically updates if you make any changes to the track or effect  parameters, so that instead of calculating all those changes on-the-fly,  it simply needs to stream back a plain old audio file which requires  much fewer system resources.  You may also choose to disable certain  effects, or temporarily replace them with alternatives which may not  sound exactly like what you want for your final mix, but which  adequately simulate the desired effect for the purpose of recording.   (You might replace the CPU-intensive Full Reverb effect with the  lightweight Studio Reverb effect, for example.  Full Reverb effect is  mathematically far more accurate and realistic, but Studio Reverb can  provide that quick "body" you might want when monitoring vocals, for  example.)  You can also just disable the effects for a track or clip  while recording, and turn them on later.
    Device and Driver Options: Different  devices may have wildly different performance at the same buffer size  and with the same session.  Audio devices designed primarily for gaming  are less likely to perform well at low buffer sizes as those designed  for music production, for example.  Even if the hardware performs the  same, the driver mode may be a source of latency.  ASIO is almost always  faster than MME, though many device manufacturers do not supply an ASIO  driver.  The use of third-party, device-agnostic drivers, such as  ASIO4ALL (www.asio4all.com) allow you to wrap an MME-only device inside a  faux-ASIO shell.  The audio application believes it's speaking to an  ASIO driver, and ASIO4ALL has been streamlined to work more quickly with  the MME device, or even to allow you to use different inputs and  outputs on separate devices which ASIO would otherwise prevent.
    We  also now see more USB microphone devices which are input-only audio  devices that generally use a generic Windows driver and, with a few  exceptions, rarely offer native ASIO support.  USB microphones generally  require a higher buffer size as they are primarily designed for  recording in cases where monitoring is unimportant.  When attempting to  record via a USB microphone and monitor via a separate audio device,  you're more likely to run into issues where the two devices are not  synchronized or drift apart after some time.  (The ugly secret of many  device manufacturers is that they rarely operate at EXACTLY the sample  rate specified.  The difference between 44,100 and 44,118 Hz is  negligible when listening to audio, but when trying to precisely  synchronize to a track recorded AT 44,100, the difference adds up over  time and what sounded in sync for the first minute will be wildly  off-beat several minutes later.)  You are almost always going to have  better sync and performance with a standard microphone connected to the  same device you're using for playback, and for serious recording, this  is the best practice.  If USB microphones are your only option, then I  would recommend making certain you purchase a high-quality one and have  an equally high-quality playback device.  Attempt to match the buffer  sizes and sample rates as closely as possible, and consider using a  higher buffer size and correcting the latency post-recording.  (One  method of doing this is to have a click or clap at the beginning of your  session and make sure this is recorded by your USB microphone.  After  you finish your recording, you can visually line up the click in the  recorded track with the click in the original track by moving your clip  backwards in the timeline.  This is not the most efficient method, but  this alignment is the reason you see the clapboards in behind-the-scenes  filmmaking footage.)
    Other Hardware: Other  hardware in your computer plays a role in the ability to feed or store  audio data quickly.  CPUs are so fast, and with multiple cores, capable  of spreading the load so often the bottleneck for good performance -  especially at high sample rates - tends to be your hard drive or storage  media.  It is highly recommended that you configure your temporary  files location, and session/recording location, to a physical drive that  is NOT the same as you have your operating system installed.  Audition  and other DAWs have absolutely no control over what Windows or OS X may  decide to do at any given time and if your antivirus software or system  file indexer decides it's time to start churning away at your hard drive  at the same time that you're recording your magnum opus, you raise the  likelihood of losing some of that performance.  (In fact, it's a good  idea to disable all non-essential applications and internet connections  while recording to reduce the likelihood of external interference.)  If  you're going to be recording multiple tracks at once, it's a good idea  to purchase the fastest hard drive your budget allows.  Most cheap  drives spin around 5400 rpm, which is fine for general use cases but  does not allow for the fast read, write, and seek operations the drive  needs to do when recording and playing back from multiple files  simultaneously.  7200 RPM drives perform much better, and even faster  options are available.  While fragmentation is less of a problem on OS X  systems, you'll want to frequently defragment your drive on Windows  frequently - this process realigns all the blocks of your files so  they're grouped together.  As you write and delete files, pieces of each  tend to get placed in the first location that has room.  This ends up  creating lots of gaps or splitting files up all over the disk.  The act  of reading or writing to these spread out areas cause the operation to  take significantly longer than it needs to and can contribute to  glitches in playback or loss of data when recording.

    There is one point in the above that needed a little clarification, relating to USB mics:
    _durin_ wrote:
     If  USB microphones are your only option, then I would recommend making  certain you purchase a high-quality one and have an equally high-quality  playback device.
    If you are going to spend that much, then you'd be better off putting a little more money into an  external device with a proper mic pre, and a little less money by not  bothering with a USB mic at all, and just getting a 'normal' condensor  mic. It's true to say that over the years, the USB mic class of  recording device has caused more trouble than any other, regardless.
    You  should also be aware that if you find a USB mic offering ASIO support,  then unless it's got a headphone socket on it as well then you aren't  going to be able to monitor what you record if you use it in its native  ASIO mode. This is because your computer can only cope with one ASIO device in the system - that's all the spec allows. What you can do with most ASIO hardware though is share multiple streams (if the  device has multiple inputs and outputs) between different software.
    Seriously, USB mics are more trouble than they're worth.

  • Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.

    Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.
    The above is what the bar says. It's been a while and wondered, maybe Apple changed the format for forums. Then got this nice big blank canvas to air my concerns. Went to school for Computer Science, BSEE, even worked at Analog Devices in Newton Massachusetts, where they make something for apple. 
    The bottom line is fast CPU = more FPU = more headroom and still can't figure out why the more cores= the slower it gets unless it's to get us in to a 6 core then come out with faster cores down the road or a newer Mac that uses the GPU. Also. Few. I'm the guy who said a few years ago Mac has an FCP that looks like iMovie on Steroids. Having said that I called the campus one day to ask them something and while I used to work for Apple, I think she thought I still did as she asked me, "HOW ARE THE 32 CORES/1DYE COMING ALONG? Not wanting to embarrass her I said fine, fine and then hung up.  Makes the most sense as I never quite got the 2,6,12 cores when for years everything from memory to CPU's have been, in sets of 2 to the 2nd power.  2,4,8,16,32,64,120,256,512, 1024, 2048,4196,8192, 72,768.  Wow. W-O-W and will be using whatever I get with Apollo Quad. 
    Peace to all and hope someone can point us in THE RIGHT DIRECTION.  THANK YOU

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • Monitoring a Process using Runtime.exce()

    Hi,
    In my Program, I'm using the
    new BufferedReader(new InputStreamReader(Runtime.getRuntime()                         .exec("ps -ef | grep xmlfeed").getInputStream()));
    The above statement is not returning any inputstream to the BuffredReader.
    When I gave the command as "PWD", it's returning the lines as expected.
    But it's not working even for "PS" command also.I'm running this in AIX machine.
    Any Ideas,Please help....
    Edited by: haijdp on Dec 21, 2007 1:11 AM

    Hello! And sorry I didn't reply earlier. I hope the Original Poster will find revisit this thread and it helps him.
    From your post I assumed that you were not a student trying to create some homework. That's why I felt free to simply code a solution and submit the code here. But first some remarks:
    I don't think that your code can work. Runtime.exec expects an array of type String, where the first element is the command and subsequent elements are a command line option each. I don't think you can use the pipe and call several commands using Runtime.exec, but that's just a kind of guess. YMMV.
    Running external Processes in Java is a bit complicated. Basically,
    * It's good to run the process in it's own thread. That way the main program can continue without getting stuck.
    * To extract stdout and stderr of your target process you must run two threads, one for stderr and one for stdout. Both threads extract the characters of their respective streams in a loop that runs inside the thread. Again, that way we avoid deadlocks, program getting stuck etc.
    This explanation is terrible, I know - I think a slice of source code speaks louder than words. I have attached five java files which together make a little process runner which extracts stdout and stderr in a safe manner. To run:
    * Cut'n paste them into five text files, one per class.
    * Save the each text file as {contained-class-name}.java
    * Compile the stuff
    * Run RunnerDemo (When I ran it, I got a directory listing printed on the console)
    Explanation sounds a bit sloppy, but I did it under the assumption that you are a seasoned java pro, so it should not pose any problems. Since you seem to be a different OS than I (AIX, I run Linux), the command may or may not work. Try other commands. For example, in the RunnerDemo class you could set the cmd field to this:
            String [] cmd =
                "ps",
                "-A",
                "-H"
            };This would give you a process listing (works on Linux).
    By the way, commands are passed as array. See Java documentation for java.lang.Runtime.exec (String []) for explanation of this array.
    One problem I see in your command is that the output of ps is piped to some other program. Sorry, I don't know whether my code could achieve this. All it can do is to rum one single command with command line options. But you should be able to adjust the given example, so it supports piping to another program.
    If you have any further questions, please don't hesitate to ask!
    Class: RunnerDemo
    *                           RunnerDemo.java
    *                     Demo for the process runner
    package rtimeexec;
    public class RunnerDemo
        public static void main (String [] args)
            String [] cmd =
                "ls",
                "-a",
                "-l"
            ProcessRunner   runner;
            String          stdOutStr;
            String          stdErrStr;
            runner = new ProcessRunner (cmd);
            runner.start ();
            runner.BlockUntilFinished ();
            stdOutStr = runner.GetStdOutText ();
            stdErrStr = runner.GetStdErrText ();
            System.out.println ("Process result, ls -a -l");
            System.out.println ("-----------------------------------------------------------------------");
            System.out.println ("Stdout:");
            System.out.println ("-----------------------------------------------------------------------");
            System.out.println (stdOutStr);
            System.out.println ();
            System.out.println ("-----------------------------------------------------------------------");
            System.out.println ("Stderr:");
            System.out.println ("-----------------------------------------------------------------------");
            System.out.println (stdErrStr);
    Class: ProcessRunner
    package rtimeexec;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    * Runs a system process and extracts stdout and stderr of that process.
    * Process will run in its own thread, so that the caller can simply continue
    * with less of a chance to get locked down. Caller can invoke the {@link BlockUntilFinished}
    * method after starting this thread. This method blocks until the thread is finished,
    * i.e. the process has finished.
    * Unfortunately, we haven't implemented any facility to stream characters to
    * stdin of the process called. If that facility would exist we could refactor
    * the classes and realize some sort of piping facility, as it's possible in
    * Linux, for example.
    * Example on how to run a process:
    * <pre>
    * String []         cmd  = {"ps", "-AH"};
    * String            sOut;
    * String            sErr;
    * ProcessRunner     runner;
    * runner = new ProcessRunner (cmd);
    * runner.start ();
    * runner.BlockUntilFinished ();
    * sOut = runner.GetStdOutText ();
    * sErr = runner.GetStdErrText ();
    * System.out.println ("Stdout:");
    * System.out.println (sOut);
    * System.out.println ("------------------------------------------------------");
    * System.out.println ("Stderr:");
    * System.out.println (sErr);
    * </pre>
    public class ProcessRunner extends Thread
        private String []                   command;
        private int                         execResult;
        private String                      stdOutText;
        private String                      stdErrText;
        private boolean                     isFinished;
        public ProcessRunner (String [] cmd)
            command     = cmd;
            execResult  = 0;
            stdOutText  = null;
            stdErrText  = null;
            isFinished  = false;
        public int GetResult ()
            return execResult;
        public String GetStdOutText ()
            return stdOutText;
        public String GetStdErrText ()
            return stdErrText;
        public boolean IsFinished ()
            return isFinished;
        public void BlockUntilFinished ()
            while (! isFinished)
                try {Thread.sleep (250);} catch (InterruptedException e) {}
        public void run ()
            Process         proc;
            Runtime         rt;
            InputStream     stdOut;
            InputStream     stdErr;
            CharStream      stdOutEx;
            CharStream      stdErrEx;
            int             res;
            isFinished = false;
            try
                res         = 0;
                rt          = Runtime.getRuntime ;       ();
                proc        = rt.exec ;                  (command);
                stdOut      = proc.getInputStream ;      ();
                stdErr      = proc.getErrorStream ;      ();
                stdOutEx    = new CharStream            (stdOut);
                stdErrEx    = new CharStream            (stdErr);
                stdOutEx.start ();
                stdErrEx.start ();
                try {res = proc.waitFor ();} catch (InterruptedException e) {}
                // Process has finished; now wait until any buffers are empty.
                stdOutEx.BlockUntilFinished ();
                stdErrEx.BlockUntilFinished ();
                stdOutText = stdOutEx.GetResult ();
                stdErrText = stdErrEx.GetResult ();
                execResult = res;
            catch (IOException e)
                isFinished = true;
                throw new ExtractionException (e.getLocalizedMessage());
            isFinished = true;
    Class: CharStream
    package rtimeexec;
    import java.io.IOException;
    import java.io.InputStream;
    * A Character extractor. Extracts characters from a stream and puts them
    * into a String. To protect from memory overflow we put a limit in place.
    * When storage demads exceed that limit, an exception is thrown.
    public class CharStream extends Thread
        private static final int    maxChunkLen         = 8192;
        private static final int    maxStorageSize      = 512 * 1024;   // 512 KBytes
        private InputStream     sourceStream;
        private StringBuffer    extracted;
        private boolean         isFinished;
        public CharStream (InputStream istream)
            sourceStream    = istream;
            extracted       = new StringBuffer ();
            isFinished      = false;
        public String GetResult ()
            String ret;
            ret = extracted.toString ();
            return ret;
        public void BlockUntilFinished ()
            while (! isFinished)
                SleepThread (250);
        public void run ()
            byte []                 buffer;
            int                     nBytesRead;
            byte                    b;
            char                    c;
            int                     iChar;
            int                     nCharsTotal;
            boolean                 isEOF;
            isEOF       = false;
            nCharsTotal = 0;
            isFinished = false;
            while (! isEOF)
                try
                    buffer      = new byte [maxChunkLen];
                    nBytesRead  = sourceStream.read (buffer);
                    if (nBytesRead >= 1)
                    {   // much faster stream extraction method than when we use
                        // BufferedReader(new InputStreamReader(sourceStream)).
                        for (iChar = 0; iChar < nBytesRead; iChar++)
                            nCharsTotal++;
                            if (nCharsTotal > maxStorageSize)
                                throw new StoreFullException
                                    "Storage limit exceeded (" + Integer.toString (maxChunkLen) + "Bytes)"
                            b = buffer [iChar];
                            c = (char) b;
                            extracted.append (c);
                    else if (nBytesRead <= -1)
                        isEOF       = true;
                catch (IOException e)
                    isFinished = true;
                    throw new ExtractionException (e.getLocalizedMessage());
                SleepThread (250);
            isFinished  = true;
        private void SleepThread (int mSec)
            try
                Thread.sleep (mSec);
            catch (InterruptedException e)
    Class: StoreFullException
    package rtimeexec;
    * Exception that gets thrown when a storage container is full.
    public class StoreFullException extends RuntimeException
        private static final long serialVersionUID = - 4996246591135389009L;
        public StoreFullException (String message)
            super (message);
    Class: ExtractionException
    package rtimeexec;
    * Thrown when there was some problem during stream extraction.
    public class ExtractionException extends RuntimeException
        private static final long serialVersionUID = - 6124525536783450209L;
        public ExtractionException (String message)
            super (message);
    }

  • Hard time for selecting Startup Disk (partition) in Mac Classic II.

    Dear coleagues, I'd like your help to understand and solve a tricky trouble. I'm sorry for the long text, but the issue is probably living in a small detail.
    The issue regards a Mac Classic II with internal and external HDDs. Internal HDD has two partitions, a smaller with System 7.1 (first) and a larger with System 7.5.3 (second). This one is installed there since 5 years ago, working fine.
    The (just installed) external HDD has 6 partitions (because of its size 9 Gb). It has been formated runing VCP in this Classic II itself and all partitions are initialized with HFS. It is intended to be a backup for my Classic II as well as my Mac Plus. I've started Installing System 7.5.3 in its third partition. Other partitions remain still empty.
    Using only internal HDD I can already perceive that "Startup Disk" control panel is unable to change the boot partition attribute between partitions in the same drive. When I open "Startup Disk" it usualy both partitions of internal HDD are highlighted. I can select a Zip Drive, for instance, and it will boot from Zip. But, when I switch it back to HDD, doesn't bother wich partition I select, it will always boot with the same partition (usually 7.5.3). Then, If i open Startup Disk CP again, both partitions are again highlighted.
    To switch between partitions in the same drive, I use Lido 7.5.6 PMount and there I select the boot partition. Then every time I select my HDD, that'll be the default boot partition.
    My conclusion is that in Mac Classic II the Startup Disk CP is unable to set a partition within a drive, it selects the drive only. The boot will obey the drive's partition table flag. That's why I can do it whith Lido, writing directly at HDD's flags.
    Now, attaching the external HDD, I can see all its partitions in Startup Disk CP and then I select one of them (the 3rd, with 7.5.3). Before rebooting, I close and open again the Startup Disk CP, then I can see all its 6 partitions highlighted. Just like I've been doing with the internal HDD, probably the solution to set a specific boot partition would be through Lido 7.5.6 PMount again. But Lido is unable to handle this drive. It appears gray in the drives list.
    What does it sound to you? What would you recommend to test? Is there an alternative for Startup Disk CP?
    Thank you.
    Regards, Ciro (Brazil)

    Dear Jan, good Evening.
    Thank you for your time.
    In fact I can select a specific partition, but by closing and reopenning Startup Disk CP I realize that the selection has been attributed to the physical drive (all partitions highlighted).
    I have tried Startup Disk CP in both System 7.1 and System 7.5.3. They do the same way.
    Internal HDD has been formated, partitioned and initialized with Apple HD CS Setup.
    This external HDD in a different way. Apple HD SC Setup hasn't been able to "see" it, probably because of its prior format system. Lido neither. That's why I went to VCP. Moreover, as it is too big for 68030, I had to format it attached to a Performa 6360. After formating, I've let VCP make set the partitions in HFS mode (partitions with 512, 1024 and 2032 Mb).
    I've mounted VCP in Mini VMac to get some screenshots for you:
    Bringing it back to Mac Classic II, it could be mounted with Lido, but System 7 has asked to initialize all partitions again. I've accepted, installed system 7 on it, and it didn't boot. Then I've repeated the partitioning and initializing procedures using Apple HD SC Setup (since now there's a Mac HDD with "small" logical drives). Nothing changed.
    I'm following your tip about System Picker. I've downloaded the sit file and read about it. It seems to be able to overlay the problem. I'm gonna try it and report back here.
    But I feel still uncomfortable not to be able to do things the regular way. As far as I know, the boot partition is an attribute of a drive partition in partition map, just like the "Active Partition" found in FAT systems. I should be able to write there as I can do with Lido in internal HDD.
    Thank you, Jan.
    Best regards,
    Ciro Bruno.

  • Won't run with 2 CPUs

    I just replaced my 6501 motherboard with one that MSI sent me. When I install both processors the computer most times hangs at startup screen. Lights 2 and 3 are red which indicates it stops at the Bios sign-on.
    It hangs where it says AMD MP 2800 Processor but before memory test and it does not display the , (2 cpu's) to the far right of the processor (80% of the time this happens on boot-up). Occasionally when I reboot it will detect both CPUs and will initialize the bios and then start loading windows at which point it immediately reboots.
     If I remove the second CPU and reboot the machine boots fine and I can load up windows.
    I have swapped both CPUs and put both of them in the Primary CPU slot and they both boot up and run fine no issues. Only when I try to have both in do I have problems. The reason I replaced the MB was because of some dried out capacitors. I got the 1.91 bios update already. Not sure what might be causing this but I want both CPUs working like before. Any help would be appreciated.
    This is the first time this board has been used. I pulled it out of the box this morning. It is a refurbished board from MSI. The other board with the dried out capacitors ran both CPUs fine without issue but I had data transfer issues so had to replace it. The newest bios available for this motherboard appears to be award bios v1.91 which is the one I have.
    If any further info is needed let me know what else you need. (I am on the computer having troubles right now but with only 1 CPU running - works fine albeit a bit slower)

    Okay. Power supply info. Had to break my system down because the side that had the info on it was covered by the top of the tower.
    Enhance Electronics
    Model: ATX-1140F with Outlet
    400 Watt Power Supply
    +3.3v(28A), +5V(38A), +12V(18A), -12V(.8A), -5V(.5A), +5VSB(2A)
    The 4 pin connector is plugged in. =) I did not overlook that.
    As for trying it with fewer memory sticks, no I have not tried that but keep in mind that earlier today the previous mobo was in this machine and running with both CPUs and all 3 memory sticks (512, 512, 1024). All in the same memory slots as the original mobo. I pulled each one and inserted it in the new mobo before taking out the next one to be sure I put them back in the same slot.
    I checked and double checked all the bios settings and they match. The only thing that has changed since this morning is the replacement mobo and that is the exact same model as the one I replaced. System works fine with 1 CPU but not with 2. What might cause that on this motherboard but not the original one?

  • Optimization problems in downloading data of greater size from any URL.

    Hi everyone !
    I'm trying to download some resource from the internet by providing valid URL. My code takes almost 50-55 minutes to download. The same resource is downloaded within 3-5 minutes by using Internet Explorer and 3-4 minutes using Fire Fox at the same network and Kbps. The sample code is as under:
    //I'm using apache's HTTP APIs
    public static String url = "http://www.sk.ee/crls/esteid/esteid.crl"; //file size is approx: 10 MB
    //httpMethod is instance of HttpMethodBase and I have initialized it with GET method
    obj_httpMethod = new GetMethod( obj_httpUrl.getEscapedURI()
    InputStream obj_is = obj_httpMethod.getResponseBodyAsStream();
    ByteArrayOutputStream obj_data = new ByteArrayOutputStream();
    //above code is working fine and giving proper input stream got from response.
    //problem start from here....although this code is working ok but it is not optimized
    //Is there any way to optimize the code
    MyHttpTransporter.copyStream(obj_is, obj_data, 524288); //Buffer Size: 512K [512*1024]
    //This method is working fine with files of small sizes but it is not doing well with greater file sizes e.g. 10MB
    public static void copyStream(InputStream a_objIs, OutputStream a_objOs,
                                    int a_iblockSize) throws Exception{
        System.out.println( "Buffer Size..: " +  a_iblockSize);
        byte [] byte_Buffer = new byte[a_iblockSize];
        int i_byteRead = -1;
        while ( (i_byteRead = a_objIs.read(byte_Buffer, 0, a_iblockSize)) > -1) {
          System.out.println( "reading stream...." );
          a_objOs.write(byte_Buffer, 0, i_byteRead);
          System.out.println( "writing stream...." );
          System.out.println( i_byteRead );
    System.out.println( i_byteRead );
    The one thing found in the above code is that, it is ignoring my provided buffer size and always fetching max 2047 bytes from the resource.
    Please help me in this regard as I'm unable to progress further in it.
    br,
    KS

    ASC_KS wrote:
    Thanx for the help.
    It makes some difference.
    the sample code is:
    //iblockSize = 524288 [512K]
    //1
    BufferedInputStream bis = new BufferedInputStream(a_objIs, a_iblockSize);
    BufferedOutputStream bos = new BufferedOutputStream(a_objOs, a_iblockSize);
    //2
    BufferedInputStream bis = (BufferedInputStream)a_objIs;
    BufferedOutputStream bos = (BufferedOutputStream)a_objOs;
    //what do you suggest 1 or 2 ? BTW I'm using 1
    If (2) works then behind the scenes the Apache code is already using Buffered streams (otherwise you would get a class cast exception) so there is going to be little advantage to using further buffering. Also, casting to buffered streams does not offer any performance advantage since any reading/writing you do will already be using the methods on the Buffered streams.
    Do I need to concentrate on the block size [reduce or increase what is good practice]. Because again it is fetching maximum 5387B and on average it is fetching the 2047B. But it is improved a little bit.Though the buffer size of the Buffered streams can be set when constructed they cannot be changed later so if the Apache code is not setting the buffer size when it constructs the buffer then you are stuffed. Check the Apache documentation to see if you can change the buffering.
    P.S. Of course, since it is open source, you can always modify the Apache code to increase the buffer size.
    P.P.S. I always use HttpURLConnection for this and it seems pretty quick though I have never downloaded anything beyond a few hundred KBytes.
    Edited by: sabre150 on Nov 21, 2007 11:18 AM

  • RAM x MSI PM8M3-VH ???

    Greetings all,
    I resurrected the mainboard MSI PM8M3-VH. I was in two slots ddr 512 = 1Gb.
    Now I want to put two slots 1GB = 2GB
    I searched and found problems of compatibility chipset P4M800CE (be careful exchange with P4M800).
    My question is what memoryslot  ddr are right for this mainboard?
    Thanks

    184-pin
    • Supports up to 2GB DDR333/400 DRAM.
    • Supports 2.5v DDR DRAM.
     What country are you in? I suggest you get Corsair or Crucial. Price for either of them isn't too bad in the US/Canada at newegg
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007611%2050001459%20600006041%20600006040%20600006065&IsNodeId=1&name=2GB%20%282%20x%201GB%29
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007611%2050001455%20600006040%20600006065&IsNodeId=1&name=2GB%20%282%20x%201GB%29

  • Creating Digital certificates for SOAP Receiver Adapter

    Hi
    In Visual Admin...> if we go to the "key storage" and try to create the certificates, we have the options of
    selecting the below algorithms.
    RSA-512,1024
    DH -512,1024
    DSA-512,1024
    But SOAP Receiver Adapter supports only the below encryption algorithms.
    3DES
    DES
    RC2-40
    RC2-64
    RC2-128
    Still if I try to use any of the RSA, DH, DSA algorithms to create the certificates in visual admin and if I
    use the same certificate in SOAP Receiver adapter, I am getting the below error in sxmb_moni
    com.sap.aii.af.ra.ms.api.DeliveryException: Unsupported keysize or algorithm parameters.
    Could you plz advise, is there any provision in XI to create the certificates using the algorithmS 3DES, DES, RC2 ? or We got to import the certificates from third-party which supports 3DES, DES and RC2 ??
    Regards
    kumar

    can't wait further so closing the thread

Maybe you are looking for