In this paper, by incorporating the general delay to the reaction term in the memory-based diffusive system, we propose a diffusive system with memory delay and general delay (e.g., gestation, hunting, migration and maturation delays, etc.). We first derive an algorithm for calculating the normal form of Hopf bifurcation in a diffusive system with memory and general delays. The developed algorithm for calculating the normal form can be used to investigate the direction and stability of Hopf bifurcation. Then, we consider a diffusive predator-prey model with ratio-dependent Holling type-3 functional response, which includes with memory and gestation delays. The Hopf bifurcation analysis without considering gestation delay is first studied, then the Hopf bifurcation analysis with memory and gestation delays is studied. Furthermore, by using the developed algorithm for calculating the normal form, the supercritical and stable spatially homogeneous periodic solutions induced jointly by memory and general delays are found theoretically. The stable spatially homogeneous periodic solutions are also found by the numerical simulations which confirms our analytic result.