I have a couple of pc-340's here I haved worked on. You can go to this site from IBM:
http://www.pc.ibm.com/support, once there type in the 7 character alpha-numeric type/model/sn label. For example for my pc-340's that was 6560-19T (that was fora p100 w/16mb ram and a 1.2GB HDD originally) Once there IBM recommends a fix for your HDD. The memory MAY have to be matched memory and it might possibly be propriety. . . I could be all wrong about that. When I checked my records on the pc-340 I worked on I added memory to boost it to 64mb, I installed 2 additional 8MB IBM SIMMS and I added a 6.4GB HDD to the machine. So I know both can be done. HTH.